summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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