From 514955a30900c78f62f59cba55dea9f415a333d5 Mon Sep 17 00:00:00 2001 From: Cory Chaplin Date: Mon, 12 May 2014 15:58:28 +0200 Subject: [PATCH] Reverting to original genericNotice for now --- server/irc/commands.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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], -- 2.25.1