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