X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_vhost.cpp;h=53910fdbe5c6f65e14f82fd76feb7ecda9fe7b5f;hb=a86e320ac19fbbd6034d0447f048beb8b4a0ad1d;hp=227d9426e1078ffd0e06c5aa6a6187dbc2ecdd4b;hpb=074727e7a74f8dcef6c250faf6a757f0274d27db;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_vhost.cpp b/src/modules/m_vhost.cpp index 227d9426e..53910fdbe 100644 --- a/src/modules/m_vhost.cpp +++ b/src/modules/m_vhost.cpp @@ -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; } }