]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_trace.h
Wheee, mass commit! this adds const stafety, throwing a compile error if anyone does...
[user/henk/code/inspircd.git] / include / commands / cmd_trace.h
index 1f551f1ebe0d564c6ea80f6f0deea84a9b82509c..ad91f7a3796ed54ba0e1cb48f1b9e6c543c31055 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
  * the same way, however, they can be fully unloaded, where these
  * may not.
  */
-class cmd_trace : public Command
+class CommandTrace : public Command
 {
  public:
        /** Constructor for trace.
         */
-       cmd_trace (InspIRCd* Instance) : Command(Instance,"TRACE",'o',0) { syntax = "[<object>]"; }
+       CommandTrace (InspIRCd* Instance) : Command(Instance,"TRACE","o",0) { syntax = "[<object>]"; }
        /** Handle command.
         * @param parameters The parameters to the comamnd
         * @param pcnt The number of parameters passed to teh command
         * @param user The user issuing the command
         * @return A value from CmdResult to indicate command success or failure.
         */
-       CmdResult Handle(const char** parameters, int pcnt, User *user);
+       CmdResult Handle(const char* const* parameters, int pcnt, User *user);
 };
 
 #endif