From 6f009062aa0dc1df7c5d24a7f321d1e75bca3f34 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 30 Dec 2005 12:00:37 +0000 Subject: Fixed broken checks to allow overriding git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2707 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/channels.cpp b/src/channels.cpp index 1c1f15d80..c51321a64 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -243,7 +243,7 @@ chanrec* add_channel(userrec *user, const char* cn, const char* key, bool overri { return NULL; } - else + else if (MOD_RESULT == 0) { if (*Ptr->key) { -- cgit v1.2.3