Changeset b23c5c7
- Timestamp:
- 2006-01-14T19:12:48Z (19 years ago)
- Branches:
- master
- Children:
- de3e100
- Parents:
- edf9657
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_commands.c
redf9657 rb23c5c7 36 36 else 37 37 { 38 irc_reply( irc, 464, ":Incorrect password ." );38 irc_reply( irc, 464, ":Incorrect password" ); 39 39 } 40 40 … … 96 96 { 97 97 if( global.conf->oper_pass && strcmp( cmd[2], global.conf->oper_pass ) == 0 ) 98 { 98 99 irc_umode_set( irc, "+o", 1 ); 99 // else 100 /* FIXME/TODO: Find out which reply to send now. */ 100 irc_reply( irc, 381, ":Password accepted" ); 101 } 102 else 103 { 104 irc_reply( irc, 432, ":Incorrect password" ); 105 } 101 106 102 107 return( 1 ); … … 311 316 irc_reply( irc, 352, "%s %s %s %s %s %c :0 %s", channel, u->user, u->host, irc->myhost, u->nick, u->online ? ( u->away ? 'G' : 'H' ) : 'G', u->realname ); 312 317 313 irc_reply( irc, 315, "%s :End of /WHO list .", channel?channel:"**" );318 irc_reply( irc, 315, "%s :End of /WHO list", channel?channel:"**" ); 314 319 315 320 return( 1 );
Note: See TracChangeset
for help on using the changeset viewer.