commit 5fa05dcea805d5db1411148ef3215e7906c88f22 from: Alexander Barton date: Sun Mar 10 22:40:22 2002 UTC - IRC_PING() ist, wenn nicht im "strict RFC"-Mode, toleranter und akzptiert beliebig viele Parameter: z.B. BitchX sendet soetwas. commit - dce77559fa6a0ad31b306615600957f024618587 commit + 5fa05dcea805d5db1411148ef3215e7906c88f22 blob - a02348f821673a7e3b339a1be454498c83a0cd8b blob + a307e544152cc46db4ac9277d24ff9c371d5f8aa --- MacOSX/ngircd.pbproj/project.pbxproj +++ MacOSX/ngircd.pbproj/project.pbxproj @@ -67,7 +67,6 @@ F51F791401DFD0DE01D13771, F56D8B9E01E0BFA00155ADA7, F52162B301C7B904012300F4, - F52162C201C7B904012300F4, F52162C301C7B904012300F4, F52162C401C7B904012300F4, F52162C501C7B904012300F4, @@ -114,7 +113,6 @@ 08FB77A0FE84155DC02AAC07 = { buildActionMask = 2147483647; files = ( - F52162CC01C7B904012300F4, F52162CD01C7B904012300F4, F52162CE01C7B904012300F4, F52162CF01C7B904012300F4, @@ -469,12 +467,6 @@ isa = PBXFileReference; path = tool.h; refType = 4; - }; - F52162C201C7B904012300F4 = { - isa = PBXFileReference; - name = acconfig.h; - path = ../acconfig.h; - refType = 2; }; F52162C301C7B904012300F4 = { isa = PBXExecutableFileReference; @@ -529,12 +521,6 @@ name = README; path = ../README; refType = 2; - }; - F52162CC01C7B904012300F4 = { - fileRef = F52162C201C7B904012300F4; - isa = PBXBuildFile; - settings = { - }; }; F52162CD01C7B904012300F4 = { fileRef = F52162BA01C7B904012300F4; blob - 61c016369d266cadeed932bea4f9204da0bf12d2 blob + b5bad65e903a36d3ed7c0782c6e39bab552c5908 --- src/ngircd/irc-login.c +++ src/ngircd/irc-login.c @@ -9,11 +9,15 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: irc-login.c,v 1.3 2002/03/03 17:15:11 alex Exp $ + * $Id: irc-login.c,v 1.4 2002/03/10 22:40:22 alex Exp $ * * irc-login.c: Anmeldung und Abmeldung im IRC * * $Log: irc-login.c,v $ + * Revision 1.4 2002/03/10 22:40:22 alex + * - IRC_PING() ist, wenn nicht im "strict RFC"-Mode, toleranter und akzptiert + * beliebig viele Parameter: z.B. BitchX sendet soetwas. + * * Revision 1.3 2002/03/03 17:15:11 alex * - Source in weitere Module fuer IRC-Befehle aufgesplitted. * @@ -301,9 +305,11 @@ GLOBAL BOOLEAN IRC_PING( CLIENT *Client, REQUEST *Req /* Falsche Anzahl Parameter? */ if( Req->argc < 1 ) return IRC_WriteStrClient( Client, ERR_NOORIGIN_MSG, Client_ID( Client )); +#ifdef STRICT_RFC if( Req->argc > 2 ) return IRC_WriteStrClient( Client, ERR_NEEDMOREPARAMS_MSG, Client_ID( Client ), Req->command ); +#endif - if( Req->argc == 2 ) + if( Req->argc > 1 ) { /* es wurde ein Ziel-Client angegeben */ target = Client_GetFromID( Req->argv[1] );