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])