Changeset 3af70b0 for irc.c


Ignore:
Timestamp:
2006-06-15T12:37:05Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
07e46c9, 5898ef8, b72caac
Parents:
79e826a
Message:

!x&y == (!x)&y, not !(x&y).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r79e826a r3af70b0  
    701701        if( irc->user && irc->nick )
    702702        {
    703                 if( global.conf->authmode == AUTHMODE_CLOSED && ! irc->status & USTATUS_AUTHORIZED )
     703                if( global.conf->authmode == AUTHMODE_CLOSED && !( irc->status & USTATUS_AUTHORIZED ) )
    704704                {
    705705                        irc_reply( irc, 464, ":This server is password-protected." );
     
    11811181        int rv = 0;
    11821182       
    1183         if( ! irc->status & USTATUS_LOGGED_IN )
     1183        if( !( irc->status & USTATUS_LOGGED_IN ) )
    11841184        {
    11851185                if( gettime() > ( irc->last_pong + IRC_LOGIN_TIMEOUT ) )
Note: See TracChangeset for help on using the changeset viewer.