Fixed bug with aliases that fail to load.

This commit is contained in:
Jeremy Fincher 2004-02-20 08:09:29 +00:00
parent a59beb0b93
commit 65bec68ec6
1 changed files with 1 additions and 1 deletions

View File

@ -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)