From: Cory Chaplin Date: Mon, 12 May 2014 13:58:28 +0000 (+0200) Subject: Reverting to original genericNotice for now X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=514955a30900c78f62f59cba55dea9f415a333d5;p=KiwiIRC.git Reverting to original genericNotice for now --- diff --git a/server/irc/commands.js b/server/irc/commands.js index 4b9e894..58d4cea 100644 --- a/server/irc/commands.js +++ b/server/irc/commands.js @@ -127,7 +127,7 @@ irc_numerics = { '442': 'ERR_NOTONCHANNEL', '443': 'ERR_USERONCHANNEL', '451': 'ERR_NOTREGISTERED', - '461': 'ERR_NOTENOUGHPARAMS',// + '461': 'ERR_NOTENOUGHPARAMS', '464': 'ERR_PASSWDMISMATCH', '470': 'ERR_LINKCHANNEL', '471': 'ERR_CHANNELISFULL', @@ -143,7 +143,7 @@ irc_numerics = { '904': 'ERR_SASLNOTAUTHORISED', '906': 'ERR_SASLABORTED', '907': 'ERR_SASLALREADYAUTHED', - 'WALLOPS': 'RPL_WALLOPS'// + 'WALLOPS': 'RPL_WALLOPS' }; @@ -1437,8 +1437,8 @@ function genericNotice (command, msg, is_error) { is_error = true; this.irc_connection.emit('user ' + command.prefix + ' notice', { - from_server: false, - nick: 'Info', + from_server: true, + nick: command.prefix, ident: '', hostname: '', target: command.params[0],