Use irc-framework setTopic() for topic command
This commit is contained in:
parent
f16823393a
commit
e45cfbf02c
@ -14,9 +14,6 @@ exports.input = function(network, chan, cmd, args) {
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
network.irc.setTopic(chan.name, args.join(" "));
|
||||||
var irc = network.irc;
|
|
||||||
irc.raw("TOPIC", chan.name, args.join(" "));
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user