|
|
@ -47,8 +47,6 @@ hook ctcprequest(sender, target, command, message) |
|
|
|
# For simplicity, set following to "false" if this is undesirable: |
|
|
|
# For simplicity, set following to "false" if this is undesirable: |
|
|
|
response_CTCP_TIME = true; |
|
|
|
response_CTCP_TIME = true; |
|
|
|
|
|
|
|
|
|
|
|
/echo ctcp: %sender %target %command %message |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (command == "TIME" && response_CTCP_TIME) { |
|
|
|
if (command == "TIME" && response_CTCP_TIME) { |
|
|
|
t = now("yyyy/MM/dd hh:mm:ss t"); |
|
|
|
t = now("yyyy/MM/dd hh:mm:ss t"); |
|
|
|
/ctcpreply %sender TIME %t |
|
|
|
/ctcpreply %sender TIME %t |
|
|
|