ircmgmt: unregister handle_quit

This commit is contained in:
Brian S. Stephan 2015-05-15 17:36:51 -05:00
parent 07ca50dfb6
commit 67098c34bb
1 changed files with 3 additions and 0 deletions

View File

@ -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):