summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-31 22:00:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-31 22:00:25 +0000
commit4e5bd889d93a389299ad73544012149055342d63 (patch)
treeddaa01029a06c3f6f2c04e1eb4200870e8d8f510 /include
parent0ade30b8bce3bc945fa120ad6cacf96fbd2f39ec (diff)
Fix (?) stats chars
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8448 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/xline.h23
1 files changed, 3 insertions, 20 deletions
diff --git a/include/xline.h b/include/xline.h
index fd7de6d2a..e395c8fba 100644
--- a/include/xline.h
+++ b/include/xline.h
@@ -501,29 +501,12 @@ class CoreExport XLineManager
*/
void ApplyLines();
- /** Handle /STATS K
+ /** Handle /STATS for a given type.
+ * @param numeric The numeric to give to each result line
* @param user The username making the query
* @param results The string_list to receive the results
*/
- void stats_k(User* user, string_list &results);
-
- /** Handle /STATS G
- * @param user The username making the query
- * @param results The string_list to receive the results
- */
- void stats_g(User* user, string_list &results);
-
- /** Handle /STATS Q
- * @param user The username making the query
- * @param results The string_list to receive the results
- */
- void stats_q(User* user, string_list &results);
-
- /** Handle /STATS Z
- * @param user The username making the query
- * @param results The string_list to receive the results
- */
- void stats_z(User* user, string_list &results);
+ void InvokeStats(const char type, int numeric, User* user, string_list &results);
/** Handle /STATS E
* @param user The username making the query