1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 13:43:13 +02:00

Made extraflags be checked by deny version and fixed a +I bug

This commit is contained in:
codemastr
2002-03-03 16:04:51 +00:00
parent a46ebe1f38
commit 8de39f6dc5
3 changed files with 6 additions and 4 deletions
+3
View File
@@ -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)
+1 -2
View File
@@ -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;
}
+2 -2
View File
@@ -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);