mirror of
https://github.com/thelounge/thelounge
synced 2024-11-27 06:20:26 +00:00
Use irc-framework setTopic() for topic command
This commit is contained in:
parent
f16823393a
commit
e45cfbf02c
1 changed files with 1 additions and 4 deletions
|
@ -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 a new issue