diff --git a/package.json b/package.json index 02bdc3cb..56d419a7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "shout", "description": "The self-hosted web IRC client", - "version": "0.37.2", + "version": "0.37.3", "author": "Mattias Erming", "preferGlobal": true, "bin": { diff --git a/src/plugins/irc-events/message.js b/src/plugins/irc-events/message.js index eba65974..8bd40382 100644 --- a/src/plugins/irc-events/message.js +++ b/src/plugins/irc-events/message.js @@ -5,6 +5,11 @@ var Msg = require("../../models/msg"); module.exports = function(irc, network) { var client = this; irc.on("message", function(data) { + if (data.message.indexOf("\001") === 0) { + // Hide ctcp messages. + return; + } + var target = data.to; if (target.toLowerCase() == irc.me.toLowerCase()) { target = data.from;