From 4e5bd889d93a389299ad73544012149055342d63 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 31 Oct 2007 22:00:25 +0000 Subject: Fix (?) stats chars git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8448 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/xline.h | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) (limited to 'include') 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 -- cgit v1.2.3