]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_cgiirc.cpp
Fix some regressions in sending tags between servers.
[user/henk/code/inspircd.git] / src / modules / m_cgiirc.cpp
index df8201bde39b4360281ead891722234ecc24bb6c..d80719c1725b6ad03f44d05d8921a6cb9f91ccc1 100644 (file)
@@ -132,7 +132,7 @@ class CommandWebIRC : public SplitCommand
        {
                allow_empty_last_param = false;
                works_before_reg = true;
-               this->syntax = "<password> <gateway> <hostname> <ip> [flags]";
+               this->syntax = "<password> <gateway> <hostname> <ip> [<flags>]";
        }
 
        CmdResult HandleLocal(LocalUser* user, const Params& parameters) CXX11_OVERRIDE
@@ -311,7 +311,7 @@ class ModuleCgiIRC
                        }
                        else
                        {
-                               throw ModuleException(type + " is an invalid <cgihost:mask> type, at " + tag->getTagLocation()); 
+                               throw ModuleException(type + " is an invalid <cgihost:mask> type, at " + tag->getTagLocation());
                        }
                }
 
@@ -369,7 +369,7 @@ class ModuleCgiIRC
 
                        user->ChangeIdent(newident);
                        user->SetClientIP(address);
-                       break; 
+                       break;
                }
                return MOD_RES_PASSTHRU;
        }