diff options
Diffstat (limited to 'src/modules/m_channames.cpp')
-rw-r--r-- | src/modules/m_channames.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string> modes; modes.push_back(c->name); - modes.push_back("-" + permchannelmode->GetModeChar()); + modes.push_back(std::string("-") + permchannelmode->GetModeChar()); ServerInstance->Modes->Process(modes, ServerInstance->FakeClient); } |