summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-11-04 12:31:43 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-11-04 12:31:43 +0000
commitff68bc95c32227f3e50cd8f5d32f1d8afd9ffb98 (patch)
treeaaa9f86f20ea3f2a3945038147bde0662a65a8de
parent72004ee5715c286c42dc62f278cc2805ea569e39 (diff)
Fix malformed UID errors so that w00t can troubleshoot! :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10796 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree/uid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/uid.cpp b/src/modules/m_spanningtree/uid.cpp
index 2c1cda7d2..7b198b76f 100644
--- a/src/modules/m_spanningtree/uid.cpp
+++ b/src/modules/m_spanningtree/uid.cpp
@@ -137,7 +137,7 @@ bool TreeSocket::ParseUID(const std::string &source, std::deque<std::string> &pa
mh->OnModeChange(_new, _new, NULL, params[paramptr++], true);
else
{
- this->SendError("Broken UID command, expected a parameter for user mode '"+ConvToStr(*v)+"' but there aren't enough parameters in the command!");
+ this->SendError(std::string("Broken UID command, expected a parameter for user mode '")+(*v)+"' but there aren't enough parameters in the command!");
return false;
}
}
@@ -148,7 +148,7 @@ bool TreeSocket::ParseUID(const std::string &source, std::deque<std::string> &pa
}
else
{
- this->SendError("Warning: Broken UID command, unknown user mode '"+ConvToStr(*v)+"' in the mode string! (mismatched module?)");
+ this->SendError(std::string("Warning: Broken UID command, unknown user mode '")+(*v)+"' in the mode string! (mismatched module?)");
return false;
}
}