summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-06-06 03:13:55 +0200
committerattilamolnar <attilamolnar@hush.com>2013-06-06 03:13:55 +0200
commiteeabdde6fbd99bc0ba5739c65421a9c20b503f72 (patch)
tree39bd0d947f428fdecf757257625445ea5887d497 /include
parentb57c0342cab22f9872dabaa8eff76ce5c8b9a890 (diff)
Move DoBackgroundUserStuff() and AllModulesReportReady() into UserManager
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h10
-rw-r--r--include/usermanager.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index f86945903..22a0bfaa5 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -270,16 +270,6 @@ class CoreExport InspIRCd
*/
void DoSocketTimeouts(time_t TIME);
- /** Perform background user events such as PING checks
- */
- void DoBackgroundUserStuff();
-
- /** Returns true when all modules have done pre-registration checks on a user
- * @param user The user to verify
- * @return True if all modules have finished checking this user
- */
- bool AllModulesReportReady(LocalUser* user);
-
/** The current time, updated in the mainloop
*/
struct timespec TIME;
diff --git a/include/usermanager.h b/include/usermanager.h
index f5df25f00..86978b3b3 100644
--- a/include/usermanager.h
+++ b/include/usermanager.h
@@ -81,6 +81,16 @@ class CoreExport UserManager
*/
void GarbageCollect();
+ /** Perform background user events such as PING checks
+ */
+ void DoBackgroundUserStuff();
+
+ /** Returns true when all modules have done pre-registration checks on a user
+ * @param user The user to verify
+ * @return True if all modules have finished checking this user
+ */
+ bool AllModulesReportReady(LocalUser* user);
+
/** Add a client to the system.
* This will create a new User, insert it into the user_hash,
* initialize it as not yet registered, and add it to the socket engine.