diff options
author | wushin <pasekei@gmail.com> | 2015-09-04 13:47:20 -0500 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2015-09-04 13:47:20 -0500 |
commit | d2bc791b1f9966c5d5f457a74418d6bef5fd8351 (patch) | |
tree | 66e1486817c151e4117a79d0fbd3b64b92162d1e | |
parent | 47716ff25641bcae9c4ed15514160b5f9882a687 (diff) | |
download | manamarket-d2bc791b1f9966c5d5f457a74418d6bef5fd8351.tar.gz manamarket-d2bc791b1f9966c5d5f457a74418d6bef5fd8351.tar.bz2 manamarket-d2bc791b1f9966c5d5f457a74418d6bef5fd8351.tar.xz manamarket-d2bc791b1f9966c5d5f457a74418d6bef5fd8351.zip |
Fix missing return
-rwxr-xr-x | main.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -655,6 +655,8 @@ def process_whisper(nick, msg, mapserv): elif broken_string[0] == "!mail": if user == -10: mapserv.sendall(whisper(nick, "Your current access level is 0. Request access in [@@https://forums.themanaworld.org/viewtopic.php?f=14&t=14010|ManaMarket's forum thread@@]")) + return + to_, msg_ = utils.parse_mail_cmdargs(msg[6:].strip()) if to_ == "" or msg_ == "": mapserv.sendall(whisper(nick, "Usage: !mail <nick> <message> OR !mail \"nick with spaces\" <message>")) |