Fixed bug with aliases that fail to load.

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

View File

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