- IRC_PING() ist, wenn nicht im "strict RFC"-Mode, toleranter und akzptiert
authorAlexander Barton <alex@barton.de>
Sun, 10 Mar 2002 22:40:22 +0000 (22:40 +0000)
committerAlexander Barton <alex@barton.de>
Sun, 10 Mar 2002 22:40:22 +0000 (22:40 +0000)
  beliebig viele Parameter: z.B. BitchX sendet soetwas.

MacOSX/ngircd.pbproj/project.pbxproj
src/ngircd/irc-login.c

index a02348f821673a7e3b339a1be454498c83a0cd8b..a307e544152cc46db4ac9277d24ff9c371d5f8aa 100644 (file)
@@ -67,7 +67,6 @@
                                F51F791401DFD0DE01D13771,
                                F56D8B9E01E0BFA00155ADA7,
                                F52162B301C7B904012300F4,
-                               F52162C201C7B904012300F4,
                                F52162C301C7B904012300F4,
                                F52162C401C7B904012300F4,
                                F52162C501C7B904012300F4,
                08FB77A0FE84155DC02AAC07 = {
                        buildActionMask = 2147483647;
                        files = (
-                               F52162CC01C7B904012300F4,
                                F52162CD01C7B904012300F4,
                                F52162CE01C7B904012300F4,
                                F52162CF01C7B904012300F4,
                        path = tool.h;
                        refType = 4;
                };
-               F52162C201C7B904012300F4 = {
-                       isa = PBXFileReference;
-                       name = acconfig.h;
-                       path = ../acconfig.h;
-                       refType = 2;
-               };
                F52162C301C7B904012300F4 = {
                        isa = PBXExecutableFileReference;
                        name = autogen.sh;
                        path = ../README;
                        refType = 2;
                };
-               F52162CC01C7B904012300F4 = {
-                       fileRef = F52162C201C7B904012300F4;
-                       isa = PBXBuildFile;
-                       settings = {
-                       };
-               };
                F52162CD01C7B904012300F4 = {
                        fileRef = F52162BA01C7B904012300F4;
                        isa = PBXBuildFile;
index 61c016369d266cadeed932bea4f9204da0bf12d2..b5bad65e903a36d3ed7c0782c6e39bab552c5908 100644 (file)
@@ -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] );