mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Fixed spurious exception atexit.
This commit is contained in:
parent
c700f3c6e5
commit
aa9c867b14
@ -287,7 +287,10 @@ class UsersDictionary(object):
|
|||||||
else:
|
else:
|
||||||
name = s
|
name = s
|
||||||
self.resetCache(name)
|
self.resetCache(name)
|
||||||
|
try:
|
||||||
del self.dict[name]
|
del self.dict[name]
|
||||||
|
except KeyError:
|
||||||
|
pass
|
||||||
|
|
||||||
def getUserName(self, s):
|
def getUserName(self, s):
|
||||||
assert ircutils.isUserHostmask(s), 'string must be a hostmask'
|
assert ircutils.isUserHostmask(s), 'string must be a hostmask'
|
||||||
|
Loading…
Reference in New Issue
Block a user