From c9c3fbf67127681a1993b005ffcfed5a6e5d33f8 Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Fri, 4 Oct 2013 11:40:28 +1300 Subject: [PATCH] properly fixed notices --- core/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/main.py b/core/main.py index c1746c3..0ff53e4 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=user): + def notice(message, target=nick): """sends a notice to the current channel/user or a specific channel/user""" conn.cmd('NOTICE', [target, message])