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 --- src/commands/cmd_stats.cpp | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'src/commands/cmd_stats.cpp') diff --git a/src/commands/cmd_stats.cpp b/src/commands/cmd_stats.cpp index 73b68dabe..5d4417689 100644 --- a/src/commands/cmd_stats.cpp +++ b/src/commands/cmd_stats.cpp @@ -140,23 +140,18 @@ DllExport void DoStats(InspIRCd* ServerInstance, char statschar, User* user, str break; case 'k': - ServerInstance->XLines->stats_k(user,results); - break; - case 'g': - ServerInstance->XLines->stats_g(user,results); - break; - case 'q': - ServerInstance->XLines->stats_q(user,results); - break; - case 'Z': - ServerInstance->XLines->stats_z(user,results); - break; - case 'e': - ServerInstance->XLines->stats_e(user,results); + /* FIXME: Make the 216 here different depending on stats char: + * k: 216 + * g: 223 + * q: 217 + * z: 223 + * e: 223 + */ + ServerInstance->XLines->InvokeStats(toupper(statschar),216,user,results); break; /* stats m (list number of times each command has been used, plus bytecount) */ -- cgit v1.3.1-10-gc9f91