diff options
| author | Alexander Barton <alex@barton.de> | 2002-01-03 02:24:49 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2002-01-03 02:24:49 +0000 |
| commit | 93aa0dbfb8c31ad7949ee2215a7772469b1de628 (patch) | |
| tree | be968e24bd76eeb3e3ac513db37ced339b397012 /src | |
| parent | 0d2c0db71ae9e39a165da0a48a8e342c8e7bdbfe (diff) | |
| download | ngircd-93aa0dbfb8c31ad7949ee2215a7772469b1de628.tar.gz ngircd-93aa0dbfb8c31ad7949ee2215a7772469b1de628.zip | |
- neue Befehle NJOIN und SERVER begonnen.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/parse.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ngircd/parse.c b/src/ngircd/parse.c index 560a9337..131cc74b 100644 --- a/src/ngircd/parse.c +++ b/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 *Request ) } 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 *Req ) 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 ); |