Merge pull request #658 from thelounge/xpaw/wallops

Display wallops in server window
This commit is contained in:
Jérémie Astori 2016-10-08 00:02:16 -04:00 committed by GitHub
commit ac3992bcdb

View File

@ -25,6 +25,12 @@ module.exports = function(irc, network) {
handleMessage(data);
});
irc.on("wallops", function(data) {
data.from_server = true;
data.type = Msg.Type.NOTICE;
handleMessage(data);
});
function handleMessage(data) {
var highlight = false;
var self = data.nick === irc.user.nick;