]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treesocket2.cpp
NEVER use the two-param assign unless you want your string padding to len bytes with \0!
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treesocket2.cpp
index 93d99c2bad1fb58c1854934aa103e0ca40f822f0..5d2471b2cd1b8333d6243c0f4bbf6e2cb525a668 100644 (file)
@@ -575,7 +575,7 @@ bool TreeSocket::ProcessLine(std::string &line)
                                        {
                                                int collideret = 0;
                                                /* x is local, who is remote */
-                                               collideret = this->DoCollision(x, who->age, who->ident.c_str(), who->GetIPString(), who->uuid.c_str());
+                                               collideret = this->DoCollision(x, who->age, who->ident, who->GetIPString(), who->uuid);
                                                if (collideret != 1)
                                                {
                                                        /*