]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Typo
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 21 Aug 2008 13:50:43 +0000 (13:50 +0000)
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 21 Aug 2008 13:50:43 +0000 (13:50 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10204 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_restrictchans.cpp

index 9d17d59b13c8d667851774bc964abbd443e21b12..10e7343ee7807d0841839572ee43671948960dfd 100644 (file)
@@ -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()))