]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/parse.c
- verwendete Datentypen aufgeraumt: beispielsweise INT32 ist nun oft ein LONG.
[ngircd-alex.git] / src / ngircd / parse.c
index b5b444b72f6cd32d835113702085ccbca248d423..8bc0dbcb8efc06b3626cd61314adc558888755b6 100644 (file)
@@ -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