From 6050eda92352c426897d0f4ffefff1e14d82a131 Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 15 Jan 2014 23:12:35 +0000 Subject: - Clean up all files in modules/ (fixed indentation, removed whitespaces/tabs) - Fixed copyright years - Made module handlers int type for later use git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2821 82007160-df01-0410-b94d-b575c5fd34c7 --- src/parse.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/parse.c b/src/parse.c index edc91e2..d38aa8d 100644 --- a/src/parse.c +++ b/src/parse.c @@ -729,33 +729,36 @@ handle_numeric(char numeric[], struct Client *client_p, struct Client *source_p, * output - * side effects - just returns a nastyogram to given user */ -void +int m_not_oper(struct Client *client_p, struct Client *source_p, int parc, char *parv[]) { sendto_one(source_p, form_str(ERR_NOPRIVILEGES), me.name, source_p->name); + return 0; } -void +int m_unregistered(struct Client *client_p, struct Client *source_p, int parc, char *parv[]) { sendto_one(source_p, form_str(ERR_NOTREGISTERED), me.name, source_p->name[0] ? source_p->name : "*"); + return 0; } -void +int m_registered(struct Client *client_p, struct Client *source_p, int parc, char *parv[]) { sendto_one(source_p, form_str(ERR_ALREADYREGISTRED), me.name, source_p->name); + return 0; } -void +int m_ignore(struct Client *client_p, struct Client *source_p, int parc, char *parv[]) { - return; + return 0; } -- cgit