Merge pull request #658 from thelounge/xpaw/wallops
Display wallops in server window
This commit is contained in:
commit
ac3992bcdb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user