]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix malformed UID errors so that w00t can troubleshoot! :)
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 4 Nov 2008 12:31:43 +0000 (12:31 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 4 Nov 2008 12:31:43 +0000 (12:31 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10796 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree/uid.cpp

index 2c1cda7d2b067d684c58e73f5525b82c8216a89a..7b198b76fe9fd6d8c3270ffbd5452c2a2088e60f 100644 (file)
@@ -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;
                }
        }