summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-08 18:54:03 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-08 18:54:03 +0000
commitb8ddf2f3c825581e3af6dbfa5b0815ccf08faa0f (patch)
tree739b4b77cf240bf34f99d122ef507e1f0732b3b4 /src/modules
parentfc7dbbeb07e03180307833295ddff996abe12efd (diff)
Comment tweakage
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9429 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_cloaking.cpp1
-rw-r--r--src/modules/m_spanningtree/treesocket2.cpp12
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;
}