summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index ffa09156b..5b3c14f98 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -435,7 +435,7 @@ void handle_invite(char **parameters, int pcnt, userrec *user)
int MOD_RESULT = 0;
FOREACH_RESULT(OnUserPreInvite(user,u,c));
if (MOD_RESULT == 1) {
- return NULL;
+ return;
}
u->InviteTo(c->name);