aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Attila Molnar2015-04-20 17:40:12 +0200
committerGravatar Attila Molnar2015-04-20 17:40:12 +0200
commit8f5efbc7aa33b792e02d01e3288f553e6e98ccaa (patch)
tree54a67ebd11fac07d630fa03acad7797b2f781e80 /include
parentRemove exception handling from StreamSocket methods calling IOHooks (diff)
parentRelease v2.0.19 (diff)
Merge insp20
Diffstat (limited to 'include')
-rw-r--r--include/modules.h3
-rw-r--r--include/usermanager.h4
2 files changed, 6 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index 41dec1194..fc2aa6324 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -1283,7 +1283,8 @@ struct AllModuleList {
break; \
} \
return TRUE; \
- }
+ } \
+ extern "C" DllExport const char inspircd_src_version[] = INSPIRCD_VERSION " " INSPIRCD_REVISION;
#else
diff --git a/include/usermanager.h b/include/usermanager.h
index 3671e8907..a67f90224 100644
--- a/include/usermanager.h
+++ b/include/usermanager.h
@@ -130,6 +130,10 @@ class CoreExport UserManager : public fakederef<UserManager>
*/
void RemoveCloneCounts(User *user);
+ /** Rebuild clone counts
+ */
+ void RehashCloneCounts();
+
/** Return the number of local and global clones of this user
* @param user The user to get the clone counts for
* @return The clone counts of this user. The returned reference is volatile - you