]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_stats.h
DO NOT USE THIS COMMIT - if you do, most of the modules wont work.
[user/henk/code/inspircd.git] / include / commands / cmd_stats.h
index 6beca59aa455a28e1abd41da84c7ddfdf6be545e..632bfa17bcfdc4c35fe685f19750a31b0cad0def 100644 (file)
 
 void DoStats(InspIRCd* Instance, char statschar, userrec* user, string_list &results);
 
+/** Handle /STATS
+ */
 class cmd_stats : public command_t
 {
  public:
-        cmd_stats (InspIRCd* Instance) : command_t(Instance,"STATS",0,1) { syntax = "[<servername>] <stats-symbol>"; }
+        cmd_stats (InspIRCd* Instance) : command_t(Instance,"STATS",0,1) { syntax = "<stats-symbol> [<servername>]"; }
         CmdResult Handle(const char** parameters, int pcnt, userrec *user);
 };