diff options
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 = { |