From 61f2ce9a41acc6016b24da58005f9b779017d7d2 Mon Sep 17 00:00:00 2001 From: rburchell Date: Sun, 16 Nov 2008 00:56:47 +0000 Subject: Enable SVSHOLD for Insp1.1/1.2, remove UseSVSHOLD. Enforcer support may go away, as it is hacky, and no longer used with any of the ircds. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1739 5417fbe8-f217-4b02-8779-1006273d7864 --- src/messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/messages.c') diff --git a/src/messages.c b/src/messages.c index 1e4e8acf4..ece0a3cd4 100644 --- a/src/messages.c +++ b/src/messages.c @@ -318,7 +318,7 @@ int m_whois(const char *source, const char *who) ircdproto->SendNumeric(ServerName, 317, source, "%s %ld %ld :seconds idle, signon time", bi->nick, time(NULL) - bi->lastmsg, start_time); ircdproto->SendNumeric(ServerName, 318, source, "%s :End of /WHOIS list.", who); return MOD_CONT; - } else if (!(ircd->svshold && UseSVSHOLD) && (na = findnick(who)) + } else if (!ircd->svshold && (na = findnick(who)) && (na->status & NS_KILL_HELD)) { /* We have a nick enforcer client here that we need to respond to. * We can't just say it doesn't exist here, even tho it does for -- cgit