Skip to content

Commit

Permalink
Fixed a bug where minqlx.RET_STOP returned in commands was also stopp…
Browse files Browse the repository at this point in the history
…ing the event.
  • Loading branch information
MinoMino committed Feb 20, 2016
1 parent 9296a11 commit f54ee3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/minqlx/_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f54ee3a

Please sign in to comment.