summaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-30 12:00:37 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-30 12:00:37 +0000
commit6f009062aa0dc1df7c5d24a7f321d1e75bca3f34 (patch)
tree0b993ef7b1d7a5c05abe294537043168b56866e3 /src/channels.cpp
parent760e6d30174964085ce2b92ecd1b5a7b7080c555 (diff)
Fixed broken checks to allow overriding
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2707 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/channels.cpp')
-rw-r--r--src/channels.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{