From d5f036017510dad134fd9c8d471135f774f1fe17 Mon Sep 17 00:00:00 2001 From: Adam- Date: Sat, 22 May 2010 07:40:22 +0000 Subject: Rewrote the nick colliding/releaseing/canceling system, fixes many many bugs on IRCds without svsnick and/or svshold git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2975 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/ns_logout.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/core/ns_logout.c') diff --git a/src/core/ns_logout.c b/src/core/ns_logout.c index fcb14fb8e..7e16dc8f5 100644 --- a/src/core/ns_logout.c +++ b/src/core/ns_logout.c @@ -15,9 +15,6 @@ #include "module.h" -#define TO_COLLIDE 0 /* Collide the user with this nick */ -#define TO_RELEASE 1 /* Release a collided nick */ - class CommandNSLogout : public Command { public: @@ -44,7 +41,6 @@ class CommandNSLogout : public Command if (nick && !param.empty() && param == "REVALIDATE") { - cancel_user(u2); validate_user(u2); } @@ -57,10 +53,6 @@ class CommandNSLogout : public Command else notice_lang(Config.s_NickServ, u, NICK_LOGOUT_SUCCEEDED); - /* Clear any timers again */ - if (na && u->Account()->HasFlag(NI_KILLPROTECT)) - del_ns_timeout(na, TO_COLLIDE); - ircdproto->SendAccountLogout(u2, u2->Account()); ircdproto->SendUnregisteredNick(u2); -- cgit