diff options
| author | 2004-05-22 15:28:25 +0000 | |
|---|---|---|
| committer | 2004-05-22 15:28:25 +0000 | |
| commit | 38c9d65253a67dbe13c77792027a9db601735813 (patch) | |
| tree | e22818b1840d05ba9cc56dd1077d895e17bb3bc4 /src/commands.cpp | |
| parent | added m_noinvite that uses the new OnUserPreInvite method (diff) | |
| download | inspircd++-38c9d65253a67dbe13c77792027a9db601735813.tar.gz inspircd++-38c9d65253a67dbe13c77792027a9db601735813.tar.bz2 inspircd++-38c9d65253a67dbe13c77792027a9db601735813.zip | |
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.cpp | 2 |
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); |
