X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_cgiirc.cpp;h=d80719c1725b6ad03f44d05d8921a6cb9f91ccc1;hb=9cf381330eab69d7e5bf26684d1ec8075aee60a2;hp=df8201bde39b4360281ead891722234ecc24bb6c;hpb=f400d5f394a258dee58fb56420acd65e22503761;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index df8201bde..d80719c17 100644 --- a/src/modules/m_cgiirc.cpp +++ b/src/modules/m_cgiirc.cpp @@ -132,7 +132,7 @@ class CommandWebIRC : public SplitCommand { allow_empty_last_param = false; works_before_reg = true; - this->syntax = " [flags]"; + this->syntax = " []"; } CmdResult HandleLocal(LocalUser* user, const Params& parameters) CXX11_OVERRIDE @@ -311,7 +311,7 @@ class ModuleCgiIRC } else { - throw ModuleException(type + " is an invalid type, at " + tag->getTagLocation()); + throw ModuleException(type + " is an invalid type, at " + tag->getTagLocation()); } } @@ -369,7 +369,7 @@ class ModuleCgiIRC user->ChangeIdent(newident); user->SetClientIP(address); - break; + break; } return MOD_RES_PASSTHRU; }