From ca95bdbbeda0416e8c41e6a52bace1cc76367cc8 Mon Sep 17 00:00:00 2001 From: codemastr Date: Sat, 16 Jun 2001 15:18:44 +0000 Subject: [PATCH] Fixed a quarantine bug(?) --- Changes | 1 + src/modules/Makefile | 2 +- src/s_user.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index ca6b599f0..1bc8cba82 100644 --- a/Changes +++ b/Changes @@ -574,3 +574,4 @@ seen. gmtime warning still there - Fixed a set_non_blocking bug - Fixed a codemastr screwup in quarantine code - Removed the old SOCKS check code. +- Fixed a quarantine bug diff --git a/src/modules/Makefile b/src/modules/Makefile index 7f5d0f722..04d38228a 100644 --- a/src/modules/Makefile +++ b/src/modules/Makefile @@ -28,7 +28,7 @@ COMMANDS=m_sethost.c m_chghost.c m_chgident.c m_setname.c m_setident.c \ MODULES=commands.so $(R_MODULES) -PTHREAD=-pthread +PTHREAD=-kthread all: build diff --git a/src/s_user.c b/src/s_user.c index ca6136fcc..575c73a25 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -4391,7 +4391,7 @@ int m_umode(cptr, sptr, parc, parv) /* since we now use chatops define in unrealircd.conf, we have * to disallow it here */ case 'o': - if(sptr->srvptr->flags & FLAGS_QUARANTINE) + if(sptr->from->flags & FLAGS_QUARANTINE) break; goto def; case 'b':