summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{