Changeset 3af70b0 for irc_commands.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_commands.c

    r79e826a r3af70b0  
    614614                                irc_reply( irc, 462, ":Only allowed before logging in" );
    615615                        }
    616                         else if( irc_commands[i].flags & IRC_CMD_LOGGED_IN && ! irc->status & USTATUS_LOGGED_IN )
     616                        else if( irc_commands[i].flags & IRC_CMD_LOGGED_IN && !( irc->status & USTATUS_LOGGED_IN ) )
    617617                        {
    618618                                irc_reply( irc, 451, ":Register first" );
Note: See TracChangeset for help on using the changeset viewer.