properly fixed notices

This commit is contained in:
Luke Rogers 2013-10-04 11:40:28 +13:00
parent a2c5964438
commit c9c3fbf671
1 changed files with 1 additions and 1 deletions

View File

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