From 5d681a74ad8ab7c771e07673413801fd1c4f6e5b Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 24 Aug 2011 13:56:48 -0400 Subject: Clear NS_HELD from nicks when recover expiry is up --- include/account.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'include') diff --git a/include/account.h b/include/account.h index fc7b3e428..6c6295f5c 100644 --- a/include/account.h +++ b/include/account.h @@ -272,6 +272,20 @@ class CoreExport NickServCollide : public Timer void Tick(time_t t); }; +/** Timers for removing HELD status from nicks. + */ +class NickServHeld : public Timer +{ + dynamic_reference na; + Anope::string nick; + public: + NickServHeld(NickAlias *n, long t); + + ~NickServHeld(); + + void Tick(time_t); +}; + /** Timers for releasing nicks to be available for use */ class CoreExport NickServRelease : public User, public Timer -- cgit