From 8de39f6dc5c7d9c6d8ddb77b1f29ddbd58aefd2b Mon Sep 17 00:00:00 2001 From: codemastr Date: Sun, 3 Mar 2002 16:04:51 +0000 Subject: [PATCH] Made extraflags be checked by deny version and fixed a +I bug --- Changes | 3 +++ src/modules/invisibility.c | 3 +-- src/s_bsd.c | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Changes b/Changes index eef16ad92..0421f4b02 100644 --- a/Changes +++ b/Changes @@ -1208,3 +1208,6 @@ seen. gmtime warning still there - Added a patch by Syzop to fix a MyMalloc/MyFree debugmode error - Added yet another patch by Syzop to fix a /vhost bug when using very long args - Added a patch by Syzop to fix a possible hash bug with /list +- Made the server pass extraflags at linking for deny version validation +- Added a patch by Syzop to fix a bug preventing +I from being used (fixes #0000073) + diff --git a/src/modules/invisibility.c b/src/modules/invisibility.c index 8ac42c629..2e1c4dde8 100644 --- a/src/modules/invisibility.c +++ b/src/modules/invisibility.c @@ -64,6 +64,7 @@ int invisibility_Init(int module_load) #endif { UMODE_HIDING = umode_get('I'); + flag_add("R"); return MOD_SUCCESS; } @@ -73,8 +74,6 @@ DLLFUNC int Mod_Load(int module_load) int invisibility_Load(int module_load) #endif { - UMODE_HIDING = umode_get('I'); - flag_add("R"); return MOD_SUCCESS; } diff --git a/src/s_bsd.c b/src/s_bsd.c index 1c70bd911..a960e78c1 100644 --- a/src/s_bsd.c +++ b/src/s_bsd.c @@ -797,8 +797,8 @@ static int completed_connection(aClient *cptr) sendto_one(cptr, "PASS :%s", aconf->connpwd); sendto_one(cptr, "PROTOCTL %s", PROTOCTL_SERVER); - sendto_one(cptr, "SERVER %s 1 :U%d-%s-%i %s", - me.name, UnrealProtocol, serveropts, me.serv->numeric, + sendto_one(cptr, "SERVER %s 1 :U%d-%s%s-%i %s", + me.name, UnrealProtocol, serveropts, extraflags ? extraflags : "", me.serv->numeric, me.info); if (!IsDead(cptr)) start_auth(cptr);