diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-01-15 23:12:35 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-01-15 23:12:35 +0000 |
commit | 6050eda92352c426897d0f4ffefff1e14d82a131 (patch) | |
tree | 805c366d597006c8397a09f60a395fab60547d60 /include | |
parent | b7561a82c59655512bc85214ae434eb245d5d936 (diff) |
- 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
Diffstat (limited to 'include')
-rw-r--r-- | include/parse.h | 10 |
1 files changed, 5 insertions, 5 deletions
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 */ |