Skip to content
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

Merged
merged 1 commit into from
Apr 25, 2017
Merged

Use irc-framework setTopic() for topic command #1082

merged 1 commit into from
Apr 25, 2017

Conversation

MaxLeiter
Copy link
Member

Possible due to #1070

var irc = network.irc;
irc.raw("TOPIC", chan.name, args.join(" "));

client.setTopic(chan.name, args.join(" "));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use this?

Copy link
Member Author

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

Copy link
Member

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.

Copy link
Member

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.

@MaxLeiter
Copy link
Member Author

Actually got on the laptop and fixed it. Good now.

@xPaw
Copy link
Member

xPaw commented Apr 25, 2017

Did you test that /topic still retrieves the topic?

@MaxLeiter
Copy link
Member Author

Still works, @xPaw

@astorije astorije added the Type: Feature Tickets that describe a desired feature or PRs that add them to the project. label Apr 25, 2017
@astorije astorije added this to the 2.3.0 milestone Apr 25, 2017
@astorije astorije merged commit b1159ef into thelounge:master Apr 25, 2017
@MaxLeiter MaxLeiter deleted the setTopic branch April 26, 2017 01:19
matburnham pushed a commit to matburnham/lounge that referenced this pull request Sep 6, 2017
Use irc-framework setTopic() for topic command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Tickets that describe a desired feature or PRs that add them to the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants