Fixed a bugz0r. We should also look in test-logs/misc.log for exceptions.

This commit is contained in:
Jeremy Fincher 2004-09-16 14:41:40 +00:00
parent 9720b79a48
commit 5d60ece2ac

View File

@ -182,7 +182,7 @@ class Alias(callbacks.Privmsg):
def __call__(self, irc, msg):
# Adding the aliases requires an Irc. So the first time we get called
# with an Irc, we add our aliases and then delete ourselves :)
for (alias, (command, locked)) in self.aliases.iteritems():
for (alias, (command, locked)) in self.aliases.items():
try:
self.addAlias(irc, alias, command, locked)
except Exception, e: