From a809be2aa889019d71230acfc18e6390deb9a214 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 26 Apr 2004 23:14:04 +0000 Subject: Fixed bug #15 - mode case sensitivity issue in mirc (glitch reported by strike and mentality) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@740 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/mode.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include/mode.h') diff --git a/include/mode.h b/include/mode.h index 633350ead..8b5f9c638 100644 --- a/include/mode.h +++ b/include/mode.h @@ -13,14 +13,14 @@ #include "channels.h" -int give_ops(userrec *user,char *dest,chanrec *chan,int status); -int give_hops(userrec *user,char *dest,chanrec *chan,int status); -int give_voice(userrec *user,char *dest,chanrec *chan,int status); -int take_ops(userrec *user,char *dest,chanrec *chan,int status); -int take_hops(userrec *user,char *dest,chanrec *chan,int status); -int take_voice(userrec *user,char *dest,chanrec *chan,int status); -int add_ban(userrec *user,char *dest,chanrec *chan,int status); -int take_ban(userrec *user,char *dest,chanrec *chan,int status); +char* give_ops(userrec *user,char *dest,chanrec *chan,int status); +char* give_hops(userrec *user,char *dest,chanrec *chan,int status); +char* give_voice(userrec *user,char *dest,chanrec *chan,int status); +char* take_ops(userrec *user,char *dest,chanrec *chan,int status); +char* take_hops(userrec *user,char *dest,chanrec *chan,int status); +char* take_voice(userrec *user,char *dest,chanrec *chan,int status); +char* add_ban(userrec *user,char *dest,chanrec *chan,int status); +char* take_ban(userrec *user,char *dest,chanrec *chan,int status); void process_modes(char **parameters,userrec* user,chanrec *chan,int status, int pcnt, bool servermode, bool silent, bool local); bool allowed_umode(char umode, char* sourcemodes,bool adding); bool process_module_umode(char umode, userrec* source, void* dest, bool adding); -- cgit v1.2.3