summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index f38daef65..506860999 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -587,8 +587,9 @@ chanrec* add_channel(userrec *user, const char* cn, const char* key, bool overri
{
MOD_RESULT = 0;
FOREACH_RESULT(OnUserPreJoin(user,Ptr,cname));
- if (MOD_RESULT == 1) {
- return NULL
+ if (MOD_RESULT == 1)
+ {
+ return NULL;
}
else
{