X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fparse.c;h=8bc0dbcb8efc06b3626cd61314adc558888755b6;hb=05839597bf9cc74b0e390ad5c6a6b747697f7abe;hp=b5b444b72f6cd32d835113702085ccbca248d423;hpb=53f76a1dade488108c74129b58f15bc72c9ecb06;p=ngircd-alex.git diff --git a/src/ngircd/parse.c b/src/ngircd/parse.c index b5b444b7..8bc0dbcb 100644 --- a/src/ngircd/parse.c +++ b/src/ngircd/parse.c @@ -9,7 +9,7 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: parse.c,v 1.40 2002/09/08 00:53:13 alex Exp $ + * $Id: parse.c,v 1.42 2002/10/04 11:21:46 alex Exp $ * * parse.c: Parsen der Client-Anfragen */ @@ -311,7 +311,7 @@ Handle_Request( CONN_ID Idx, REQUEST *Req ) else strcat( str, " :" ); strcat( str, Req->argv[i] ); } - return IRC_WriteStrClientPrefix( target, prefix, str ); + return IRC_WriteStrClientPrefix( target, prefix, "%s", str ); } if( strcasecmp( Req->command, "PASS" ) == 0 ) return IRC_PASS( client, Req ); @@ -348,6 +348,7 @@ Handle_Request( CONN_ID Idx, REQUEST *Req ) else if( strcasecmp( Req->command, "INVITE" ) == 0 ) return IRC_INVITE( client, Req ); else if( strcasecmp( Req->command, "KICK" ) == 0 ) return IRC_KICK( client, Req ); else if( strcasecmp( Req->command, "CONNECT" ) == 0 ) return IRC_CONNECT( client, Req ); + else if( strcasecmp( Req->command, "ADMIN" ) == 0 ) return IRC_ADMIN( client, Req ); #ifdef IRCPLUS else if( strcasecmp( Req->command, "CHANINFO" ) == 0 ) return IRC_CHANINFO( client, Req ); #endif