diff --git a/plugins/core_ctcp.py b/plugins/core_ctcp.py index 7312adf..523a4e4 100755 --- a/plugins/core_ctcp.py +++ b/plugins/core_ctcp.py @@ -4,15 +4,15 @@ from util import hook # CTCP responses @hook.regex(r'^\x01VERSION\x01$') -def ctcp_version(notice=None): +def ctcp_version(inp, notice=None): notice('\x01VERSION: CloudBot - http://git.io/cloudbotirc') @hook.regex(r'^\x01PING\x01$') -def ctcp_ping(notice=None): +def ctcp_ping(inp, notice=None): notice('\x01PING: PONG') @hook.regex(r'^\x01TIME\x01$') -def ctcp_time(notice=None): +def ctcp_time(inp, notice=None): notice('\x01TIME: The time is: %s' % time.strftime("%r", time.localtime()))