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,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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user