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

Request "server-time" capability instead of just the old znc vendor prefixed variants #277

Open
dequis opened this issue Nov 10, 2015 · 0 comments

Comments

@dequis
Copy link

dequis commented Nov 10, 2015

https://github.com/psychs/limechat/blob/master/Classes/IRC/IRCClient.m#L3677

[self send:CAP, @"REQ", @"znc.in/server-time", nil];
[self send:CAP, @"REQ", @"znc.in/server-time-iso", nil];

server-time is missing from there, which is what newer ZNC versions use since ircv3.2 was declared stable.

The spec is the same thing as znc.in/server-time-iso, so just adding it to the list of CAP REQ should be enough.

(The right thing to do would be to use CAP LS and send a single CAP REQ with space-separated capabilities that the server claims to support and the client is interested in, but that would require more refactoring. So just requesting server-time is fine too)

(Ref: #168, #169)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant