X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fusermanager.h;h=a67f90224d628839eda4c05a6f7feac53e08cd11;hb=cd67a0a6f9380d4a54bc92370f2925f2d2a684dc;hp=361584cdaa184cd21cf30d8d218b5587d11748af;hpb=e5ada400b0f2e2ae02f40867450a6789126da6e3;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/usermanager.h b/include/usermanager.h index 361584cda..a67f90224 100644 --- a/include/usermanager.h +++ b/include/usermanager.h @@ -41,7 +41,7 @@ class CoreExport UserManager : public fakederef /** A list holding local users */ - typedef intrusive_list LocalList; + typedef insp::intrusive_list LocalList; private: /** Map of IP addresses for clone counting @@ -130,6 +130,10 @@ class CoreExport UserManager : public fakederef */ 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