Hell hath no fury like an IRC user scorned. (fixed notices)

This commit is contained in:
Luke Rogers 2013-10-03 21:47:35 +13:00
parent b6c3a233eb
commit a2c5964438
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=chan):
def notice(message, target=user):
"""sends a notice to the current channel/user or a specific channel/user"""
conn.cmd('NOTICE', [target, message])