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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_clearcache.cpp b/src/cmd_clearcache.cpp
index 0a08498e8..aed05c093 100644
--- a/src/cmd_clearcache.cpp
+++ b/src/cmd_clearcache.cpp
@@ -21,7 +21,7 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance)
/** Handle /CLEARCACHE
*/
-CmdResult cmd_clearcache::Handle (const char** parameters, int pcnt, userrec *user)
+CmdResult cmd_clearcache::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);