var funcs = {\r
kiwi: 'kiwi', raw: 'raw', kick: 'kick', topic: 'topic',\r
part: 'part', join: 'join', action: 'action', ctcp: 'ctcp',\r
+ ctcpRequest: 'ctcpRequest', ctcpResponse: 'ctcpResponse',\r
notice: 'notice', msg: 'privmsg', changeNick: 'changeNick',\r
channelInfo: 'channelInfo', mode: 'mode'\r
};\r
type = ev.params[0];\r
ev.params.shift();\r
\r
- this.connections.active_connection.gateway.ctcp(true, type, target, ev.params.join(' '));\r
+ this.connections.active_connection.gateway.ctcpRequest(type, target, ev.params.join(' '));\r
}\r
\r
function settingsCommand (ev) {\r
// Reply to a TIME ctcp
if (event.msg.toUpperCase() === 'TIME') {
- this.gateway.ctcp(false, event.type, event.nick, (new Date()).toString());
+ this.gateway.ctcpResponse(event.type, event.nick, (new Date()).toString());
}
}