diff options
-rw-r--r-- | src/modules/m_cloaking.cpp | 1 | ||||
-rw-r--r-- | src/modules/m_spanningtree/treesocket2.cpp | 12 |
2 files changed, 8 insertions, 5 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index 593f3227f..8a3a4e482 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -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; diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp index 035331e5f..476b7900e 100644 --- a/src/modules/m_spanningtree/treesocket2.cpp +++ b/src/modules/m_spanningtree/treesocket2.cpp @@ -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; } |