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