From 1f9b2453f25eaf74d2c71c427c45d529694e4e34 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 14 Feb 2008 17:11:34 +0000 Subject: Somebody *eyes a certain norwegian wannabe* defined two commands called WATCH... O_o git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8934 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_stats.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/commands/cmd_stats.cpp') diff --git a/src/commands/cmd_stats.cpp b/src/commands/cmd_stats.cpp index de9237c61..72bdc69bd 100644 --- a/src/commands/cmd_stats.cpp +++ b/src/commands/cmd_stats.cpp @@ -154,6 +154,12 @@ DllExport void DoStats(InspIRCd* ServerInstance, char statschar, User* user, str case 'e': ServerInstance->XLines->InvokeStats("E",223,user,results); break; + case 'E': + results.push_back(sn+" 249 "+user->nick+" :Total events: "+ConvToStr(ServerInstance->SE->TotalEvents)); + results.push_back(sn+" 249 "+user->nick+" :Read events: "+ConvToStr(ServerInstance->SE->ReadEvents)); + results.push_back(sn+" 249 "+user->nick+" :Write events: "+ConvToStr(ServerInstance->SE->WriteEvents)); + results.push_back(sn+" 249 "+user->nick+" :Error events: "+ConvToStr(ServerInstance->SE->ErrorEvents)); + break; /* stats m (list number of times each command has been used, plus bytecount) */ case 'm': -- cgit v1.2.3