Use the failure() call instead of send()

This commit is contained in:
Mark Veidemanis 2017-11-21 18:41:18 +00:00
parent f235c5cb44
commit 21ed410717
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class Helper(object):
if len(spl) > 0: if len(spl) > 0:
cmd = spl[0] cmd = spl[0]
else: else:
send("No text was sent") failure("No text was sent")
return return
if authed == True: if authed == True:
if cmd == "pass": if cmd == "pass":