summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-22 15:28:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-22 15:28:25 +0000
commit38c9d65253a67dbe13c77792027a9db601735813 (patch)
treee22818b1840d05ba9cc56dd1077d895e17bb3bc4 /src/commands.cpp
parentb04e748c2b633b943a6386bc95a2d0913b503558 (diff)
Added remainder of OnUserPreInvite stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@820 e03df62e-2008-0410-955e-edbf42e46eb7
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);