Changeset 133cdff
- Timestamp:
- 2010-07-11T12:11:27Z (14 years ago)
- Branches:
- master
- Children:
- b1f818b
- Parents:
- af9f2ca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ipc.c
raf9f2ca r133cdff 134 134 GSList *l; 135 135 136 if( strcmp( child->nick, cmd[1] ) != 0 )136 if( !child || !child->nick || strcmp( child->nick, cmd[1] ) != 0 ) 137 137 return; 138 138 … … 143 143 { 144 144 old = l->data; 145 if( nick_cmp( old->nick, child->nick ) == 0 && child != old && 145 if( child != old && 146 old->nick && nick_cmp( old->nick, child->nick ) == 0 && 146 147 old->password && strcmp( old->password, child->password ) == 0 ) 147 148 break;
Note: See TracChangeset
for help on using the changeset viewer.