changed TOKEN of FFAKEHOST2 to NFH
authorpk910 <philipp@zoelle1.de>
Sat, 23 Jul 2011 22:37:07 +0000 (00:37 +0200)
committerpk910 <philipp@zoelle1.de>
Sat, 23 Jul 2011 23:12:46 +0000 (01:12 +0200)
src/proto-p10.c

index 4d5c4c9cbb206669b28ecdd44ea7276e2e7e7ac4..4db33d8ae38f0d57ea39a45ecd34553bf499b582 100644 (file)
 #define TOK_EOB_ACK             "EA"
 #define TOK_ERROR               "Y"
 #define TOK_FAKEHOST            "FA"
-#define TOK_FAKEHOST2           "FA2"
+#define TOK_FAKEHOST2           "NFH"
 #define TOK_GET                 "GET"
 #define TOK_GLINE               "GL"
 #define TOK_HASH                "HASH"
@@ -508,7 +508,7 @@ irc_fakehost(struct userNode *user, const char *host, const char *ident, int for
     /* SRVX added the possibility for FAKE IDENTS
      * but this is currently *NOT* supported by our IRCu
      */
-    int useNewFakehost = 1;
+    int useNewFakehost = 0;
      
     if(useNewFakehost) putsock("%s " P10_FAKEHOST2 " %s %s %s%s", self->numeric, user->numeric, ident, host, force ? " FORCE" : "");
     else putsock("%s " P10_FAKEHOST " %s %s", self->numeric, user->numeric, host);