Merge pull request #344 from PangeaCake/patch-1

Escape 'topic' message
This commit is contained in:
Mattias Erming 2015-01-22 18:48:55 +01:00
commit e94341f8b0

View File

@ -29,7 +29,7 @@ module.exports = function(irc, network) {
chan.topic = topic chan.topic = topic
client.emit("topic", { client.emit("topic", {
chan: chan.id, chan: chan.id,
topic: topic topic: _.escape(topic)
}); });
}); });
}; };