summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authoraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-26 18:16:14 +0000
committeraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-26 18:16:14 +0000
commit546534d98ee6319453f5cab488241ba0f2525e4e (patch)
treee6c9a95a375945605ba9a05aba0ae498a27c56d2 /src/modules
parent398e82a1142e8d361b206b4a2b15e3f6325a51b2 (diff)
Fix <options:noservices> 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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_chanprotect.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}