From 7310912f77f1600056c1c08ec64575a33385c4c0 Mon Sep 17 00:00:00 2001 From: Jack Allnutt Date: Fri, 25 Jan 2013 03:04:11 +0000 Subject: [PATCH] Add missing colon to MODE event name --- server/irc/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/irc/commands.js b/server/irc/commands.js index dd0f4aa..893e68f 100644 --- a/server/irc/commands.js +++ b/server/irc/commands.js @@ -416,7 +416,7 @@ var listeners = { } } - event = (_.contains(this.irc_connection.options.CHANTYPES, command.params[0][0]) ? 'channel' : 'user') + command.params[0] + ':mode'; + event = (_.contains(this.irc_connection.options.CHANTYPES, command.params[0][0]) ? 'channel:' : 'user:') + command.params[0] + ':mode'; this.irc_connection.emit(event, { target: command.params[0], -- 2.25.1