mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Fixed bug with aliases that fail to load.
This commit is contained in:
parent
65bec68ec6
commit
168b438edf
@ -182,7 +182,7 @@ class Alias(callbacks.Privmsg):
|
||||
except Exception, e:
|
||||
self.log.exception('Exception when trying to add alias %s. '
|
||||
'Removing from the Alias database.' % alias)
|
||||
del self.aliases[name]
|
||||
del self.aliases[alias]
|
||||
del self.__class__.__call__
|
||||
callbacks.Privmsg.__call__(self, irc, msg)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user