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/nickserv.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/nickserv.c')
| -rw-r--r-- | src/nickserv.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/nickserv.c b/src/nickserv.c index 4bfbe9527..b2c95d469 100644 --- a/src/nickserv.c +++ b/src/nickserv.c @@ -840,7 +840,7 @@ void cancel_user(User * u) if (na) { if (na->status & NS_GUESTED) { if (ircd->svshold) { - if (UseSVSHOLD) { + if (ircd->svshold) { ircdproto->SendSVSHold(na->nick); } else { if (ircd->svsnick) { @@ -1395,11 +1395,7 @@ void release(NickAlias * na, int from_timeout) if (!from_timeout) del_ns_timeout(na, TO_RELEASE); if (ircd->svshold) { - if (UseSVSHOLD) { - ircdproto->SendSVSHoldDel(na->nick); - } else { - ircdproto->SendQuit(na->nick, NULL); - } + ircdproto->SendSVSHoldDel(na->nick); } else { ircdproto->SendQuit(na->nick, NULL); } |
