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
1 changed files with 1 additions and 1 deletions

View File

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