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