* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const std::vector<std::string>& parameters, User* user) CXX11_OVERRIDE;
- RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters) CXX11_OVERRIDE;
+ CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE;
+ RouteDescriptor GetRouting(User* user, const Params& parameters) CXX11_OVERRIDE;
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
ChanModeReference secretmode;
ChanModeReference privatemode;
UserModeReference invisiblemode;
ChanModeReference secretmode;
ChanModeReference privatemode;
UserModeReference invisiblemode;
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
/** Spool the NAMES list for a given channel to the given user
* @param user User to spool the NAMES list to
/** Spool the NAMES list for a given channel to the given user
* @param user User to spool the NAMES list to
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const std::vector<std::string>& parameters, User* user) CXX11_OVERRIDE;
- RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters) CXX11_OVERRIDE;
+ CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE;
+ RouteDescriptor GetRouting(User* user, const Params& parameters) CXX11_OVERRIDE;
- : ListModeBase(Creator, "ban", 'b', "End of channel ban list", 367, 368, true, "maxbans")
+ : ListModeBase(Creator, "ban", 'b', "End of channel ban list", 367, 368, true)
ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string& parameter, bool adding) CXX11_OVERRIDE;
void SerializeParam(Channel* chan, const std::string* key, std::string& out) ;
ModeAction OnSet(User* source, Channel* chan, std::string& param) CXX11_OVERRIDE;
ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string& parameter, bool adding) CXX11_OVERRIDE;
void SerializeParam(Channel* chan, const std::string* key, std::string& out) ;
ModeAction OnSet(User* source, Channel* chan, std::string& param) CXX11_OVERRIDE;