From 59bff82d237cc6f5010114019d5808a5c5dd0235 Mon Sep 17 00:00:00 2001 From: special Date: Tue, 9 Jan 2007 13:39:47 +0000 Subject: 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 --- src/cmd_clearcache.cpp | 8 ++++---- 1 file 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); -- cgit v1.2.3