]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix <options:noservices> causing +o (and +q!) not being correctly given on channel...
authoraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 26 Sep 2008 18:16:14 +0000 (18:16 +0000)
committeraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 26 Sep 2008 18:16:14 +0000 (18:16 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10604 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_chanprotect.cpp

index f596a28d230fe0d561733169e6b89c095405a736..a1107b6ce031afe5dc249909d873a93ed5e085a5 100644 (file)
@@ -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;
        }