summaryrefslogtreecommitdiff
path: root/src/parse.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-01-15 23:12:35 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-01-15 23:12:35 +0000
commit6050eda92352c426897d0f4ffefff1e14d82a131 (patch)
tree805c366d597006c8397a09f60a395fab60547d60 /src/parse.c
parentb7561a82c59655512bc85214ae434eb245d5d936 (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 'src/parse.c')
-rw-r--r--src/parse.c13
1 files changed, 8 insertions, 5 deletions
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;
}