Changeset 0ef1c92 for irc.c


Ignore:
Timestamp:
2015-09-11T02:31:10Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
dc96e6e
Parents:
34d16d5
git-author:
dequis <dx@…> (27-07-15 05:14:09)
git-committer:
dequis <dx@…> (11-09-15 02:31:10)
Message:

Initial implementation of ircv3 capability negotiation

Mostly no-op for now. Puts registration on hold, supports the basic
commands, and NAKs everything

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r34d16d5 r0ef1c92  
    727727int irc_check_login(irc_t *irc)
    728728{
    729         if (irc->user->user && irc->user->nick) {
     729        if (irc->user->user && irc->user->nick && !(irc->status & USTATUS_CAP_PENDING)) {
    730730                if (global.conf->authmode == AUTHMODE_CLOSED && !(irc->status & USTATUS_AUTHORIZED)) {
    731731                        irc_send_num(irc, 464, ":This server is password-protected.");
Note: See TracChangeset for help on using the changeset viewer.