]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_connect.h
Add/document channels/set-permanent priv, and tie setting of +P to it.
[user/henk/code/inspircd.git] / include / commands / cmd_connect.h
index 791b2eebe9b798fdd6fe7f6ee756166786fdb48e..7d869b8c65ab5fed0aeb17e87c77b150d3e63302 100644 (file)
@@ -29,14 +29,14 @@ class CommandConnect : public Command
  public:
        /** Constructor for connect.
         */
-       CommandConnect (InspIRCd* Instance) : Command(Instance,"CONNECT",'o',1,false,0) { syntax = "<servername> [<remote-server>]"; }
+       CommandConnect (InspIRCd* Instance) : Command(Instance,"CONNECT","o",1,false,0) { syntax = "<servername> [<remote-server>]"; }
        /** 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 std::vector<std::string>& parameters, User *user);
 };
 
 #endif