summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-09 13:39:47 +0000
committerspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-09 13:39:47 +0000
commit59bff82d237cc6f5010114019d5808a5c5dd0235 (patch)
treeb61f39817b4c7e622dc29e7daad486396c30eba2
parent3282cf07a1cc1f7e11ac2bd756b739dcf97c9069 (diff)
Whoever added clearcache must have been asleep; they left the definition of it as cmd_admin::Handle
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6280 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/cmd_clearcache.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd_clearcache.cpp b/src/cmd_clearcache.cpp
index 22e219a83..df1bd5342 100644
--- a/src/cmd_clearcache.cpp
+++ b/src/cmd_clearcache.cpp
@@ -13,16 +13,16 @@
#include "configreader.h"
#include "users.h"
-#include "commands/cmd_admin.h"
+#include "commands/cmd_clearcache.h"
extern "C" command_t* init_command(InspIRCd* Instance)
{
- return new cmd_admin(Instance);
+ return new cmd_clearcache(Instance);
}
-/** Handle /ADMIN
+/** Handle /CLEARCACHE
*/
-CmdResult cmd_admin::Handle (const char** parameters, int pcnt, userrec *user)
+CmdResult cmd_clearcache::Handle (const char** parameters, int pcnt, userrec *user)
{
int n = ServerInstance->Res->ClearCache();
user->WriteServ("NOTICE %s :*** Cleared DNS cache of %d items.", user->nick, n);