Hell hath no fury like an IRC user scorned. (fixed notices)
This commit is contained in:
parent
b6c3a233eb
commit
a2c5964438
|
@ -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])
|
||||
|
||||
|
|
Reference in New Issue