From 168b438edfb4fff6fcd2bad2e13ec96dff2b252b Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 20 Feb 2004 08:09:59 +0000 Subject: [PATCH] Fixed bug with aliases that fail to load. --- plugins/Alias.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Alias.py b/plugins/Alias.py index 5324d894c..d96d6606f 100644 --- a/plugins/Alias.py +++ b/plugins/Alias.py @@ -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)