diff options
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h index 719af2271..6e79cf285 100644 --- a/include/users.h +++ b/include/users.h @@ -231,6 +231,12 @@ class userrec : public connection char* cached_hostip; char* cached_makehost; char* cached_fullrealhost; + + /** When we erase the user (in the destructor), + * we call this method to subtract one from all + * mode characters this user is making use of. + */ + void DecrementModes(); public: /** Resolvers for looking up this users IP address * This will occur if and when res_reverse completes. |