Commit Diff


commit - 0d2c0db71ae9e39a165da0a48a8e342c8e7bdbfe
commit + 93aa0dbfb8c31ad7949ee2215a7772469b1de628
blob - 560a933766a4f5f0d704f45b73091c095fcd4410
blob + 131cc74b468a2af6fd592fdf23da633dcf38e728
--- src/ngircd/parse.c
+++ src/ngircd/parse.c
@@ -9,11 +9,14 @@
  * 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.11 2002/01/02 02:43:22 alex Exp $
+ * $Id: parse.c,v 1.12 2002/01/03 02:24:49 alex Exp $
  *
  * parse.c: Parsen der Client-Anfragen
  *
  * $Log: parse.c,v $
+ * Revision 1.12  2002/01/03 02:24:49  alex
+ * - neue Befehle NJOIN und SERVER begonnen.
+ *
  * Revision 1.11  2002/01/02 02:43:22  alex
  * - Copyright-Texte aktualisiert.
  * - neuer Befehl ERROR.
@@ -171,7 +174,7 @@ GLOBAL BOOLEAN Parse_Request( CONN_ID Idx, CHAR *Reque
 	}
 	
 	if( ! Validate_Args( &req )) return Parse_Error( Idx, "Invalid argument(s)" );
-	
+
 	return Handle_Request( Idx, &req );
 } /* Parse_Request */
 
@@ -245,6 +248,8 @@ LOCAL BOOLEAN Handle_Request( CONN_ID Idx, REQUEST *Re
 	if( strcasecmp( Req->command, "PASS" ) == 0 ) return IRC_PASS( client, Req );
 	else if( strcasecmp( Req->command, "NICK" ) == 0 ) return IRC_NICK( client, Req );
 	else if( strcasecmp( Req->command, "USER" ) == 0 ) return IRC_USER( client, Req );
+	else if( strcasecmp( Req->command, "SERVER" ) == 0 ) return IRC_SERVER( client, Req );
+	else if( strcasecmp( Req->command, "NJOIN" ) == 0 ) return IRC_NJOIN( client, Req );
 	else if( strcasecmp( Req->command, "QUIT" ) == 0 ) return IRC_QUIT( client, Req );
 	else if( strcasecmp( Req->command, "PING" ) == 0 ) return IRC_PING( client, Req );
 	else if( strcasecmp( Req->command, "PONG" ) == 0 ) return IRC_PONG( client, Req );