diff options
author | dequis <dx@dxzone.com.ar> | 2015-07-27 02:14:09 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-09-10 23:31:10 -0300 |
commit | 0ef1c9293b2055807e14e404cdf96cf7d8843170 (patch) | |
tree | bfa51613f2ea1b72dd54c99dd4b26fd466f5ecdd /irc.c | |
parent | 34d16d5b4b5265990125894572a90493284358cd (diff) |
Initial implementation of ircv3 capability negotiation
Mostly no-op for now. Puts registration on hold, supports the basic
commands, and NAKs everything
Diffstat (limited to 'irc.c')
-rw-r--r-- | irc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -726,7 +726,7 @@ void irc_desync(irc_t *irc) int irc_check_login(irc_t *irc) { - if (irc->user->user && irc->user->nick) { + if (irc->user->user && irc->user->nick && !(irc->status & USTATUS_CAP_PENDING)) { if (global.conf->authmode == AUTHMODE_CLOSED && !(irc->status & USTATUS_AUTHORIZED)) { irc_send_num(irc, 464, ":This server is password-protected."); return 0; |