From 38c9d65253a67dbe13c77792027a9db601735813 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 22 May 2004 15:28:25 +0000 Subject: Added remainder of OnUserPreInvite stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@820 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands.cpp') 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); -- cgit v1.2.3