]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_clearcache.cpp
Remove use of SendSNONotice to send to remote servers, this is done automagically now
[user/henk/code/inspircd.git] / src / commands / cmd_clearcache.cpp
index cbc796bbaa5a9187dc53396d14f897f10060e530..c7354df07d824ed9a95e91b52f06074e63d08ae3 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -21,7 +21,7 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance)
 
 /** Handle /CLEARCACHE
  */
-CmdResult CommandClearcache::Handle (const char** parameters, int pcnt, User *user)
+CmdResult CommandClearcache::Handle (const char* const* parameters, int pcnt, User *user)
 {
        int n = ServerInstance->Res->ClearCache();
        user->WriteServ("NOTICE %s :*** Cleared DNS cache of %d items.", user->nick, n);