diff options
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 8cce5513a..64489aaf6 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -193,6 +193,9 @@ class FileLogger : public EventHandler /** A list of failed port bindings, used for informational purposes on startup */ typedef std::vector<std::pair<std::string, long> > FailedPortList; +/** A list of ip addresses cross referenced against clone counts */ +typedef std::map<irc::string, unsigned int> clonemap; + class XLineManager; /** The main class of the irc server. @@ -401,6 +404,10 @@ class InspIRCd : public classbase */ std::vector<userrec*> all_opers; + clonemap local_clones; + + clonemap global_clones; + /** Whowas container, contains a map of vectors of users tracked by WHOWAS */ irc::whowas::whowas_users whowas; @@ -453,6 +460,10 @@ class InspIRCd : public classbase */ int SetTimeDelta(int delta); + void AddLocalClone(userrec* user); + + void AddGlobalClone(userrec* user); + /** Get the time offset in seconds * @return The current time delta (in seconds) */ |