Use irc-framework setTopic() for topic command

This commit is contained in:
Max Leiter 2017-04-19 12:27:26 -07:00
parent f16823393a
commit e45cfbf02c

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