policy-violation now item-not-found on missing '+'

Denver Gingerich created

This change was suggested by singpolyma; looks more correct to me too.

Change summary

sgx-catapult.rb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Detailed changes

sgx-catapult.rb 🔗

@@ -74,8 +74,8 @@ module SGXcatapult
 
 		if num_dest[0] != '+'
 			# TODO: add text re number not (yet) supported/implmnted
-			write_to_stream error_msg(m.reply, m.body, :modify,
-				'policy-violation')
+			write_to_stream error_msg(m.reply, m.body, :cancel,
+				'item-not-found')
 			next
 		end
 
@@ -244,8 +244,8 @@ module SGXcatapult
 
 			if phone_num[0] != '+'
 				# TODO: add text re number not (yet) supported
-				write_to_stream error_msg(i.reply, qn, :modify,
-					'policy-violation')
+				write_to_stream error_msg(i.reply, qn, :cancel,
+					'item-not-found')
 				next
 			end