diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-09 20:16:43 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-09 20:16:43 +0000 |
commit | 0cf08426b2ff53d6fc1ca8125a57c79d87070b7b (patch) | |
tree | 36e30bdb829460fa63c9875e60b9d988b60d0747 /include/cull_list.h | |
parent | 7a3d08f06cc22688a70c5274fe0dd489f93e9794 (diff) |
Speedups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3602 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/cull_list.h')
-rw-r--r-- | include/cull_list.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cull_list.h b/include/cull_list.h index e20eb1dd0..ca7189f4c 100644 --- a/include/cull_list.h +++ b/include/cull_list.h @@ -51,6 +51,7 @@ class CullItem * @param r The quit reason of the added user */ CullItem(userrec* u, std::string &r); + CullItem(userrec* u, const char* r); /** Returns a pointer to the user */ userrec* GetUser(); @@ -105,6 +106,7 @@ class CullList * @param reason The quit reason of the user being added */ void AddItem(userrec* user, std::string &reason); + void AddItem(userrec* user, const char* reason); /** Applies the cull list, quitting all the users * on the list with their quit reasons all at once. * This is a very fast operation compared to |