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

View File

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