diff --git a/dr_botzo/ircbot/bot.py b/dr_botzo/ircbot/bot.py index b1d7d26..d34284f 100644 --- a/dr_botzo/ircbot/bot.py +++ b/dr_botzo/ircbot/bot.py @@ -136,6 +136,8 @@ class DrReactor(irc.client.Reactor): if repl: # we found an alias for our given string, doing a replace event.arguments[0] = repl + # recurse, in case there's another alias in this one + return self._handle_event(connection, event) with self.mutex: # doing regex version first as it has the potential to be more specific