]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_vhost.cpp
core_hostname_lookup: find answer record of the correct type instead of assuming...
[user/henk/code/inspircd.git] / src / modules / m_vhost.cpp
index 227d9426e1078ffd0e06c5aa6a6187dbc2ecdd4b..53910fdbe5c6f65e14f82fd76feb7ecda9fe7b5f 100644 (file)
@@ -48,7 +48,7 @@ class CommandVhost : public Command
                                if (!mask.empty())
                                {
                                        user->WriteNotice("Setting your VHost: " + mask);
-                                       user->ChangeDisplayedHost(mask.c_str());
+                                       user->ChangeDisplayedHost(mask);
                                        return CMD_SUCCESS;
                                }
                        }