summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-26 23:14:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-26 23:14:04 +0000
commita809be2aa889019d71230acfc18e6390deb9a214 (patch)
tree019ab85e6ff5f9742c0e48c48d6149688f4ad6f0 /include
parent9a60d7454d57019a28221f63905ce3dbb7310f07 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/mode.h16
1 files changed, 8 insertions, 8 deletions
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);