From d2bc791b1f9966c5d5f457a74418d6bef5fd8351 Mon Sep 17 00:00:00 2001 From: wushin Date: Fri, 4 Sep 2015 13:47:20 -0500 Subject: Fix missing return --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index c7c8171..d289177 100755 --- a/main.py +++ b/main.py @@ -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 OR !mail \"nick with spaces\" ")) -- cgit v1.2.3-70-g09d2