class CommandCban : public Command
{
public:
- CommandCban(InspIRCd* Me) : Command(Me, "CBAN", 'o', 1)
+ CommandCban(InspIRCd* Me) : Command(Me, "CBAN", "o", 1)
{
this->source = "m_cban.so";
this->syntax = "<channel> [<duration> :<reason>]";
TRANSLATE4(TR_TEXT,TR_TEXT,TR_TEXT,TR_END);
}
- CmdResult Handle(const char** parameters, int pcnt, User *user)
+ CmdResult Handle(const char* const* parameters, int pcnt, User *user)
{
/* syntax: CBAN #channel time :reason goes here */
/* 'time' is a human-readable timestring, like 2d3h2s. */