mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +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)
|
||||
except Exception, e:
|
||||
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.__class__.__call__
|
||||
callbacks.Privmsg.__call__(self, irc, msg)
|
||||
|
Loading…
Reference in New Issue
Block a user