X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcommands%2Fcmd_clearcache.cpp;h=aa0ef2c3486c7c4c939711ef7d99071c303a6212;hb=cf83031f7bf1c037bf726df84f93686b9631531b;hp=5f1792928c1b293913f1637174eb18774e357c73;hpb=ffbd1eebf0b82bf40482879f410f58874030a695;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/commands/cmd_clearcache.cpp b/src/commands/cmd_clearcache.cpp index 5f1792928..aa0ef2c34 100644 --- a/src/commands/cmd_clearcache.cpp +++ b/src/commands/cmd_clearcache.cpp @@ -24,6 +24,6 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance) CmdResult CommandClearcache::Handle (const std::vector& parameters, User *user) { int n = ServerInstance->Res->ClearCache(); - user->WriteServ("NOTICE %s :*** Cleared DNS cache of %d items.", user->nick, n); + user->WriteServ("NOTICE %s :*** Cleared DNS cache of %d items.", user->nick.c_str(), n); return CMD_SUCCESS; }