Merge branch 'development' of https://github.com/DaHispanicNinja/KiwiIRC into DaHispa...
[KiwiIRC.git] / server / irc / commands.js
index cf9c0acac9c1ffc2271ec53e81a3932f58b99500..b403dedf1bba6af87b1d15137bb574f92ba0cc6b 100644 (file)
@@ -809,7 +809,7 @@ handlers = {
     },
 
     ERR_CANNOTSENDTOCHAN: function (command) {
-        this.irc_connection.emit('server ' + this.irc_connection.irc_host.hostname + ' cannot_send_to_chan', {
+        this.irc_connection.emit('server ' + this.irc_connection.irc_host.hostname + ' cannot_send_to_channel', {
             channel: command.params[1],
             reason: command.params[command.params.length - 1]
         });