From: Mikael Magnusson Date: Tue, 14 Sep 2010 17:11:51 +0000 (+0200) Subject: probably fix crash when someone quits X-Git-Url: http://git.openbox.org/?p=mikachu%2Fbricker.git;a=commitdiff_plain;h=fc0c556df91fdc3cb2c5f0e3286699cdf338429f;hp=c31a94405a53eb0419e3594555b88cc146b98183;ds=sidebyside probably fix crash when someone quits --- diff --git a/bricker.py b/bricker.py index 33596aa..a44e472 100755 --- a/bricker.py +++ b/bricker.py @@ -253,6 +253,7 @@ class Bricker(object): def _on_quit(self, connection, event): nick = irclib.nm_to_n(event.source()) + channel = event.target() print 'quit %s' % nick if nick == self._nick: self._channels[channel] = False