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 --- include/parse.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/parse.h b/include/parse.h index c7b4cee..f0cea14 100644 --- a/include/parse.h +++ b/include/parse.h @@ -108,7 +108,7 @@ typedef enum HandlerType { * int parc - parameter count * char* parv[] - parameter vector */ -typedef void (*MessageHandler)(struct Client *, struct Client *, int, char *[]); +typedef int (*MessageHandler)(struct Client *, struct Client *, int, char *[]); /* * Message table structure @@ -156,9 +156,9 @@ extern struct Message *find_command(const char *); extern void report_messages(struct Client *); /* generic handlers */ -extern void m_ignore(struct Client *, struct Client *, int, char *[]); -extern void m_not_oper(struct Client *, struct Client *, int, char *[]); -extern void m_registered(struct Client *, struct Client *, int, char *[]); -extern void m_unregistered(struct Client *, struct Client *, int, char *[]); +extern int m_ignore(struct Client *, struct Client *, int, char *[]); +extern int m_not_oper(struct Client *, struct Client *, int, char *[]); +extern int m_registered(struct Client *, struct Client *, int, char *[]); +extern int m_unregistered(struct Client *, struct Client *, int, char *[]); #endif /* INCLUDED_parse_h */ -- cgit