From f54ee3abcc7aa21487467b908551f28b319069e1 Mon Sep 17 00:00:00 2001 From: Mino Date: Sat, 20 Feb 2016 23:12:27 +0100 Subject: [PATCH] Fixed a bug where minqlx.RET_STOP returned in commands was also stopping the event. --- python/minqlx/_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/minqlx/_events.py b/python/minqlx/_events.py index d6e30ee..bdbf1cb 100644 --- a/python/minqlx/_events.py +++ b/python/minqlx/_events.py @@ -322,7 +322,7 @@ class ChatEventDispatcher(EventDispatcher): def dispatch(self, player, msg, channel): ret = minqlx.COMMANDS.handle_input(player, msg, channel) - if not ret: # Stop event if told to. + if ret is False: # Stop event if told to. return False return super().dispatch(player, msg, channel)