From: aquanight Date: Fri, 26 Sep 2008 18:16:14 +0000 (+0000) Subject: Fix causing +o (and +q!) not being correctly given on channel... X-Git-Tag: v2.0.23~2495 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=546534d98ee6319453f5cab488241ba0f2525e4e;p=user%2Fhenk%2Fcode%2Finspircd.git Fix causing +o (and +q!) not being correctly given on channel create git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10604 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index f596a28d2..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; }