summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-21 13:50:43 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-21 13:50:43 +0000
commitd9767dabc647fd6c9fd0a5be7a9030ab95b720dd (patch)
tree7b3112f4bd2281b66e6821790494d254c260e8ee
parentc48da0d68b8312bea48e9d43984be2150124d605 (diff)
Typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10204 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_restrictchans.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp
index 9d17d59b1..10e7343ee 100644
--- a/src/modules/m_restrictchans.cpp
+++ b/src/modules/m_restrictchans.cpp
@@ -55,7 +55,7 @@ class ModuleRestrictChans : public Module
{
irc::string x = cname;
if (!IS_LOCAL(user))
- return;
+ return 0;
// user is not an oper and its not in the allow list
if ((!IS_OPER(user)) && (allowchans.find(x) == allowchans.end()))