]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/xline.cpp
m_testcommand deletes its command handler manually, no modules should do this. Will...
[user/henk/code/inspircd.git] / src / xline.cpp
index 9b05a57f856aed3b7c4f1fd97cf0768e3f93bc72..def9db42b92a9693c20796a9e0eee661d2d9aefa 100644 (file)
@@ -109,9 +109,9 @@ IdentHostPair XLineManager::IdentSplit(const std::string &ident_and_host)
                n.second = ident_and_host.substr(x + 1,ident_and_host.length());
                n.first = ident_and_host.substr(0, x);
                if (!n.first.length())
-                       n.first = "*";
+                       n.first.assign("*");
                if (!n.second.length())
-                       n.second = "*";
+                       n.second.assign("*");
        }
        else
        {