diff --git a/dr_botzo/ircbot/ircplugins/ircmgmt.py b/dr_botzo/ircbot/ircplugins/ircmgmt.py index 40e8a40..7c7bbf6 100644 --- a/dr_botzo/ircbot/ircplugins/ircmgmt.py +++ b/dr_botzo/ircbot/ircplugins/ircmgmt.py @@ -40,6 +40,9 @@ class ChannelManagement(Plugin): self.connection.reactor.remove_global_regex_handler('pubmsg', getattr(self, 'handle_part')) self.connection.reactor.remove_global_regex_handler('privmsg', getattr(self, 'handle_part')) + self.connection.reactor.remove_global_regex_handler('pubmsg', getattr(self, 'handle_quit')) + self.connection.reactor.remove_global_regex_handler('privmsg', getattr(self, 'handle_quit')) + super(ChannelManagement, self).stop() def handle_join(self, connection, event, match):