]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Comment tweakage
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 8 Apr 2008 18:54:03 +0000 (18:54 +0000)
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 8 Apr 2008 18:54:03 +0000 (18:54 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9429 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_cloaking.cpp
src/modules/m_spanningtree/treesocket2.cpp

index 593f3227ff0109fd389a2bb72336b90b39d3d263..8a3a4e482fbbea7d3d2a04193b88f83461940a98 100644 (file)
@@ -74,6 +74,7 @@ class CloakUser : public ModeHandler
 
                /* For remote clients, we dont take any action, we just allow it.
                 * The local server where they are will set their cloak instead.
+                * This is fine, as we will recieve it later.
                 */
                if (!IS_LOCAL(dest))
                        return MODEACTION_ALLOW;
index 035331e5f559939a9697a8760710ba6db937bfb8..476b7900e00df34d3bb4d70cf15217856bd82632 100644 (file)
@@ -607,18 +607,20 @@ bool TreeSocket::ProcessLine(std::string &line)
                                switch (this->Instance->CallCommandHandler(command.c_str(), strparams, params.size(), who))
                                {
                                        case CMD_INVALID:
-                                               // command is irc::string, hence ugliness
+                                               /*
+                                                * XXX: command is irc::string, hence ugliness
+                                                */
                                                this->SendError("Unrecognised or malformed command '" + std::string(command.c_str()) + "' -- possibly loaded mismatched modules");
                                                return false;
                                                break;
-                                       /*
-                                        * CMD_LOCALONLY is aliased to CMD_FAILURE, so this won't go out onto the network.
-                                        */
                                        case CMD_FAILURE:
+                                               /*
+                                                * CMD_LOCALONLY is aliased to CMD_FAILURE, so this won't go out onto the network.
+                                                */
                                                return true;
                                                break;
                                        default:
-                                               /* CMD_SUCCESS and CMD_USER_DELETED fall through here */
+                                               /* CMD_SUCCESS falls through here */
                                                break;
                                }