X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_channames.cpp;h=fcb2ef6d74d7fda8d38bcfbe0bb34138cb7ca19e;hb=e950f568d0f571e9475aa38177486468714de4d3;hp=4228d505033ccae1fa7e050ec9db51c3cc1b69b8;hpb=d24619c012b34d5a3d4cfb93e7bea3ff3d5721e7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_channames.cpp b/src/modules/m_channames.cpp index 4228d5050..fcb2ef6d7 100644 --- a/src/modules/m_channames.cpp +++ b/src/modules/m_channames.cpp @@ -82,7 +82,7 @@ class ModuleChannelNames : public Module { std::vector modes; modes.push_back(c->name); - modes.push_back("-" + permchannelmode->GetModeChar()); + modes.push_back(std::string("-") + permchannelmode->GetModeChar()); ServerInstance->Modes->Process(modes, ServerInstance->FakeClient); }