Some users might unidentify without being identified.

This commit is contained in:
Jeremy Fincher 2004-04-08 10:47:32 +00:00
parent 8587c3cd4f
commit 4258435d98
1 changed files with 3 additions and 2 deletions

View File

@ -287,6 +287,7 @@ class IrcUser(object):
def unsetAuth(self):
"""Unsets a use's authenticated hostmask."""
if self.auth is not None:
users.invalidateCache(hostmask=self.auth[1])
self.auth = None