From a36d730dc2c6e6e68d2a84ec8e1c7cff91e2986b Mon Sep 17 00:00:00 2001 From: Russell King Date: Sun, 5 Jun 2016 16:33:27 +0100 Subject: update contrib modules --- contrib/m_ojoin.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'contrib/m_ojoin.c') 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 = { -- cgit