X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_chanprotect.cpp;h=a1107b6ce031afe5dc249909d873a93ed5e085a5;hb=39897f56f5f84d8d4c8903fb46a03c2fdcf733ec;hp=95641891fa6858c1716635056791b59b8c777469;hpb=6f3fcc5f21331a4d93ff73d2ab7f374aeb17305c;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index 95641891f..a1107b6ce 100644 --- a/src/modules/m_chanprotect.cpp +++ b/src/modules/m_chanprotect.cpp @@ -372,7 +372,7 @@ class ModuleChanProtect : public Module // the config option for it is set if (FirstInGetsFounder && !chan) - privs = QPrefix + "@"; + privs = std::string(1, QPrefix) + "@"; return 0; } @@ -490,7 +490,7 @@ class ModuleChanProtect : public Module virtual Version GetVersion() { - return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION); + return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION); } };