diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2016-06-05 16:33:27 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2016-06-05 17:47:57 +0100 |
commit | a36d730dc2c6e6e68d2a84ec8e1c7cff91e2986b (patch) | |
tree | 36532c5cf9f1056c51f1147e6eb161a5b69da7c0 /contrib/m_ojoin.c | |
parent | d3f800d23b4fdab512d437611c85eb3288f4f6b5 (diff) |
update contrib modules
Diffstat (limited to 'contrib/m_ojoin.c')
-rw-r--r-- | contrib/m_ojoin.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/m_ojoin.c b/contrib/m_ojoin.c index e0ff868..8be0a4a 100644 --- a/contrib/m_ojoin.c +++ b/contrib/m_ojoin.c @@ -41,7 +41,7 @@ * parv[0] = sender prefix * parv[1] = channels separated by commas */ -static void +static int mo_ojoin(struct Client *client_p, struct Client *source_p, int parc, char *parv[]) { @@ -58,7 +58,7 @@ mo_ojoin(struct Client *client_p, struct Client *source_p, { sendto_one(source_p, form_str(ERR_NOPRIVILEGES), me.name, source_p->name); - return; + return 0; } for (name = strtoken(&t, name, ","); name; @@ -143,6 +143,8 @@ mo_ojoin(struct Client *client_p, struct Client *source_p, channel_member_names(source_p, chptr, 1); } } + + return 0; } static struct Message ojoin_msgtab = { |