Merge pull request #1082 from MaxLeiter/setTopic

Use irc-framework setTopic() for topic command
This commit is contained in:
Jérémie Astori 2017-04-25 23:32:58 +02:00 committed by GitHub
commit b1159eff9b

View file

@ -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;
};