diff --git a/constants/fokabotCommands.py b/constants/fokabotCommands.py index 790ba7b..63d0938 100644 --- a/constants/fokabotCommands.py +++ b/constants/fokabotCommands.py @@ -754,10 +754,10 @@ def report(fro, chan, message): if msg != "": token = glob.tokens.getTokenFromUsername(fro) if token is not None: - if not token.irc: - token.enqueue(serverPackets.notification(msg)) - else: + if token.irc: chat.sendMessage("FokaBot", fro, msg) + else: + token.enqueue(serverPackets.notification(msg)) return False """