From 2f75f36974721070718b0f55f6c4957715cc651c Mon Sep 17 00:00:00 2001 From: pk910 Date: Sun, 24 Jul 2011 00:29:59 +0200 Subject: [PATCH] activated the new features --- src/proto-p10.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/proto-p10.c b/src/proto-p10.c index 1e47027..4d5c4c9 100644 --- a/src/proto-p10.c +++ b/src/proto-p10.c @@ -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 = 0; + int useNewFakehost = 1; 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); @@ -1777,11 +1777,9 @@ static CMD_FUNC(cmd_relay) } else { devnull[0] = 0; } - /* if(!HANDLE_FLAGGED(hi, AUTOHIDE)) { sprintf(tmp,"%s LA %s 0 %s\n",argv[3],hi->handle,devnull); - } else */ - if(getfakehost(argv[4])) { + } else if(getfakehost(argv[4])) { sprintf(tmp,"%s LA %s %s %s\n",argv[3],hi->handle,getfakehost(argv[4]),devnull); } else { extern const char *hidden_host_suffix; -- 2.20.1