summaryrefslogtreecommitdiff
path: root/include/account.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-24 13:56:48 -0400
committerAdam <Adam@anope.org>2011-08-24 13:56:48 -0400
commit5d681a74ad8ab7c771e07673413801fd1c4f6e5b (patch)
treef46a0914d382c40820f00fc662e85bca98313f09 /include/account.h
parent21a8bff0113204fa7e4f3257fdbaf851f006b748 (diff)
Clear NS_HELD from nicks when recover expiry is up
Diffstat (limited to 'include/account.h')
-rw-r--r--include/account.h14
1 files changed, 14 insertions, 0 deletions
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<NickAlias> 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