Changeset e180c59
- Timestamp:
- 2008-09-28T10:56:46Z (16 years ago)
- Branches:
- master
- Children:
- 94acdd0
- Parents:
- 2bebe15
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_commands.c
r2bebe15 re180c59 197 197 198 198 if( strchr( CTYPES, cmd[1][0] ) == NULL || cmd[1][1] == 0 ) 199 { 199 irc_reply( irc, 479, "%s :Invalid channel name", cmd[1] ); 200 else if( ( c = chat_bychannel( irc, cmd[1] ) ) && c->acc && c->acc->ic ) 201 chat_join( irc, c ); 202 else 200 203 irc_reply( irc, 403, "%s :No such channel", cmd[1] ); 201 return;202 }203 204 if( ( c = chat_bychannel( irc, cmd[1] ) ) )205 {206 chat_join( irc, c );207 }208 else209 {210 irc_reply( irc, 403, "%s :No such channel", cmd[1] );211 }212 204 } 213 205 }
Note: See TracChangeset
for help on using the changeset viewer.