From 32d3414bc8ca2b8fed71821d118410c0736d2370 Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Sat, 28 Feb 2015 18:11:56 +0100 Subject: [PATCH] Fix error in unhandled hook How did this not get caught in testing earlier? --- modules/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/common.py b/modules/common.py index d00132d..77b3c8c 100644 --- a/modules/common.py +++ b/modules/common.py @@ -95,7 +95,7 @@ def __unhandled__(cli, prefix, cmd, *args): if botconfig.DEBUG_MODE: raise e else: - notify_error(cli, chan, log) + notify_error(cli, botconfig.CHANNEL, log) COMMANDS = {}