From: pk910 Date: Thu, 24 Nov 2011 22:59:11 +0000 (+0100) Subject: activated new fakehost protocol X-Git-Url: http://git.pk910.de/?p=srvx.git;a=commitdiff_plain;h=5e021f72c0bfcf8b530ca05d44322c49c5f2e490 activated new fakehost protocol --- diff --git a/src/proto-p10.c b/src/proto-p10.c index e4c9620..e5c190a 100644 --- a/src/proto-p10.c +++ b/src/proto-p10.c @@ -507,11 +507,11 @@ 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 + * + * edit 24.11.11: + * NFH (P10_FAKEHOST2) is now supported by our IRCu (git-65-21592a4) */ - 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); + putsock("%s " P10_FAKEHOST2 " %s %s %s%s", self->numeric, user->numeric, ident, host, force ? " FORCE" : ""); } void