From d9767dabc647fd6c9fd0a5be7a9030ab95b720dd Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 21 Aug 2008 13:50:43 +0000 Subject: Typo git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10204 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_restrictchans.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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())) -- cgit v1.2.3