diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-16 00:56:47 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-16 00:56:47 +0000 |
commit | 61f2ce9a41acc6016b24da58005f9b779017d7d2 (patch) | |
tree | 3061017a7ac717abbd9c6e85c4741b5162afbf2b /src/messages.c | |
parent | 01806ba86146730cf404daef624ee5208fc2e056 (diff) |
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
Diffstat (limited to 'src/messages.c')
-rw-r--r-- | src/messages.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |