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