diff options
author | Adam <Adam@anope.org> | 2011-08-24 13:56:48 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-24 13:56:48 -0400 |
commit | 5d681a74ad8ab7c771e07673413801fd1c4f6e5b (patch) | |
tree | f46a0914d382c40820f00fc662e85bca98313f09 /include/account.h | |
parent | 21a8bff0113204fa7e4f3257fdbaf851f006b748 (diff) |
Clear NS_HELD from nicks when recover expiry is up
Diffstat (limited to 'include/account.h')
-rw-r--r-- | include/account.h | 14 |
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 |