-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use irc-framework setTopic() for topic command #1082
Conversation
src/plugins/inputs/topic.js
Outdated
var irc = network.irc; | ||
irc.raw("TOPIC", chan.name, args.join(" ")); | ||
|
||
client.setTopic(chan.name, args.join(" ")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use this
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
client is more clear imo, also consistent with other files, but nbd to change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to change on L10/R11 as well then. I'll approve after that and let @xPaw decide if he cares or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be network.irc
though.
Actually got on the laptop and fixed it. Good now. |
Did you test that |
Still works, @xPaw |
Use irc-framework setTopic() for topic command
Possible due to #1070