]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_cban.cpp
Add 906, sasl aborted
[user/henk/code/inspircd.git] / src / modules / m_cban.cpp
index 9c196a9bb73a0392b98404d68346cbf29ccf0972..f74c5d58eb364e16ba4a1c4572e3fb098e11d329 100644 (file)
@@ -47,14 +47,14 @@ cbanlist cbans;
 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. */