Handle QUIT properly in IrcState.

This commit is contained in:
Jeremy Fincher 2004-08-17 08:29:56 +00:00
parent fe139ce79b
commit e1cf38f171
1 changed files with 1 additions and 0 deletions

View File

@ -402,6 +402,7 @@ class IrcState(IrcCommandDispatcher):
def doQuit(self, irc, msg):
for channel in self.channels.itervalues():
channel.removeUser(msg.nick)
del self.nicksToHostmasks[msg.nick]
def doTopic(self, irc, msg):
if len(msg.args) == 1: