summaryrefslogtreecommitdiff
path: root/src/cmd_clearcache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_clearcache.cpp')
-rw-r--r--src/cmd_clearcache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_clearcache.cpp b/src/cmd_clearcache.cpp
index aed05c093..cbc796bba 100644
--- a/src/cmd_clearcache.cpp
+++ b/src/cmd_clearcache.cpp
@@ -16,12 +16,12 @@
extern "C" DllExport Command* init_command(InspIRCd* Instance)
{
- return new cmd_clearcache(Instance);
+ return new CommandClearcache(Instance);
}
/** Handle /CLEARCACHE
*/
-CmdResult cmd_clearcache::Handle (const char** parameters, int pcnt, User *user)
+CmdResult CommandClearcache::Handle (const char** parameters, int pcnt, User *user)
{
int n = ServerInstance->Res->ClearCache();
user->WriteServ("NOTICE %s :*** Cleared DNS cache of %d items.", user->nick, n);