From a2c5964438cae968a805270f5fb6ee4e5834e9fd Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Thu, 3 Oct 2013 21:47:35 +1300 Subject: [PATCH] Hell hath no fury like an IRC user scorned. (fixed notices) --- core/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/main.py b/core/main.py index dac6112..c1746c3 100755 --- a/core/main.py +++ b/core/main.py @@ -32,7 +32,7 @@ class Input(dict): """sends an ctcp to the current channel/user or a specific channel/user""" conn.ctcp(target, ctcp_type, message) - def notice(message, target=chan): + def notice(message, target=user): """sends a notice to the current channel/user or a specific channel/user""" conn.cmd('NOTICE', [target, message])