Changeset 3af70b0
- Timestamp:
- 2006-06-15T12:37:05Z (18 years ago)
- Branches:
- master
- Children:
- 07e46c9, 5898ef8, b72caac
- Parents:
- 79e826a
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ipc.c
r79e826a r3af70b0 115 115 static void ipc_child_cmd_wallops( irc_t *irc, char **cmd ) 116 116 { 117 if( ! irc->status & USTATUS_LOGGED_IN)117 if( !( irc->status & USTATUS_LOGGED_IN ) ) 118 118 return; 119 119 … … 124 124 static void ipc_child_cmd_lilo( irc_t *irc, char **cmd ) 125 125 { 126 if( ! irc->status & USTATUS_LOGGED_IN)126 if( !( irc->status & USTATUS_LOGGED_IN ) ) 127 127 return; 128 128 … … 133 133 static void ipc_child_cmd_opermsg( irc_t *irc, char **cmd ) 134 134 { 135 if( ! irc->status & USTATUS_LOGGED_IN)135 if( !( irc->status & USTATUS_LOGGED_IN ) ) 136 136 return; 137 137 … … 154 154 static void ipc_child_cmd_kill( irc_t *irc, char **cmd ) 155 155 { 156 if( ! irc->status & USTATUS_LOGGED_IN)156 if( !( irc->status & USTATUS_LOGGED_IN ) ) 157 157 return; 158 158 … … 166 166 static void ipc_child_cmd_hello( irc_t *irc, char **cmd ) 167 167 { 168 if( ! irc->status & USTATUS_LOGGED_IN)168 if( !( irc->status & USTATUS_LOGGED_IN ) ) 169 169 ipc_to_master_str( "HELLO\r\n" ); 170 170 else -
irc.c
r79e826a r3af70b0 701 701 if( irc->user && irc->nick ) 702 702 { 703 if( global.conf->authmode == AUTHMODE_CLOSED && ! irc->status & USTATUS_AUTHORIZED)703 if( global.conf->authmode == AUTHMODE_CLOSED && !( irc->status & USTATUS_AUTHORIZED ) ) 704 704 { 705 705 irc_reply( irc, 464, ":This server is password-protected." ); … … 1181 1181 int rv = 0; 1182 1182 1183 if( ! irc->status & USTATUS_LOGGED_IN)1183 if( !( irc->status & USTATUS_LOGGED_IN ) ) 1184 1184 { 1185 1185 if( gettime() > ( irc->last_pong + IRC_LOGIN_TIMEOUT ) ) -
irc_commands.c
r79e826a r3af70b0 614 614 irc_reply( irc, 462, ":Only allowed before logging in" ); 615 615 } 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 ) ) 617 617 { 618 618 irc_reply( irc, 451, ":Register first" ); -
root_commands.c
r79e826a r3af70b0 201 201 account_t *a; 202 202 203 if( global.conf->authmode == AUTHMODE_REGISTERED && ! irc->status & USTATUS_IDENTIFIED)203 if( global.conf->authmode == AUTHMODE_REGISTERED && !( irc->status & USTATUS_IDENTIFIED ) ) 204 204 { 205 205 irc_usermsg( irc, "This server only accepts registered users" );
Note: See TracChangeset
for help on using the changeset viewer.