diff options
Diffstat (limited to 'src/cmd_stats.cpp')
-rw-r--r-- | src/cmd_stats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_stats.cpp b/src/cmd_stats.cpp index e2e94db4f..7197b15df 100644 --- a/src/cmd_stats.cpp +++ b/src/cmd_stats.cpp @@ -28,7 +28,7 @@ extern "C" command_t* init_command(InspIRCd* Instance) CmdResult cmd_stats::Handle (const char** parameters, int pcnt, userrec *user) { - if (pcnt < 2) + if (IS_LOCAL(user)) { string_list values; DoStats(this->ServerInstance, *parameters[0], user, values); |