diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-06-15 14:37:05 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-06-15 14:37:05 +0200 |
commit | 3af70b06b2f0fb0fb41a041f6d86e3711b9eea3f (patch) | |
tree | 851e0c661e14d3dae49cd060a99dc05e37e12c06 /irc_commands.c | |
parent | 79e826a028f4b4c62c0c16e20af1fb13a9636324 (diff) |
!x&y == (!x)&y, not !(x&y).
Diffstat (limited to 'irc_commands.c')
-rw-r--r-- | irc_commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/irc_commands.c b/irc_commands.c index 519070db..f410bb52 100644 --- a/irc_commands.c +++ b/irc_commands.c @@ -613,7 +613,7 @@ void irc_exec( irc_t *irc, char *cmd[] ) { irc_reply( irc, 462, ":Only allowed before logging in" ); } - else if( irc_commands[i].flags & IRC_CMD_LOGGED_IN && ! irc->status & USTATUS_LOGGED_IN ) + else if( irc_commands[i].flags & IRC_CMD_LOGGED_IN && !( irc->status & USTATUS_LOGGED_IN ) ) { irc_reply( irc, 451, ":Register first" ); } |