From ff68bc95c32227f3e50cd8f5d32f1d8afd9ffb98 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 4 Nov 2008 12:31:43 +0000 Subject: [PATCH] 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 --- src/modules/m_spanningtree/uid.cpp | 4 ++-- 1 file 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 &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 &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; } } -- 2.39.5