mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Some users might unidentify without being identified.
This commit is contained in:
parent
8587c3cd4f
commit
4258435d98
@ -287,8 +287,9 @@ class IrcUser(object):
|
||||
|
||||
def unsetAuth(self):
|
||||
"""Unsets a use's authenticated hostmask."""
|
||||
users.invalidateCache(hostmask=self.auth[1])
|
||||
self.auth = None
|
||||
if self.auth is not None:
|
||||
users.invalidateCache(hostmask=self.auth[1])
|
||||
self.auth = None
|
||||
|
||||
def preserve(self, fd, indent=''):
|
||||
def write(s):
|
||||
|
Loading…
Reference in New Issue
Block a user