1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * Inspire is copyright (C) 2002-2004 ChatSpike-Dev.
7 * <brain@chatspike.net>
8 * <Craig@chatspike.net>
10 * Written by Craig Edwards, Craig McLure, and others.
11 * This program is free but copyrighted software; see
12 * the file COPYING for details.
14 * ---------------------------------------------------
20 // include the common header files
31 char* give_ops(userrec *user,char *dest,chanrec *chan,int status);
32 char* give_hops(userrec *user,char *dest,chanrec *chan,int status);
33 char* give_voice(userrec *user,char *dest,chanrec *chan,int status);
34 char* take_ops(userrec *user,char *dest,chanrec *chan,int status);
35 char* take_hops(userrec *user,char *dest,chanrec *chan,int status);
36 char* take_voice(userrec *user,char *dest,chanrec *chan,int status);
37 char* add_ban(userrec *user,char *dest,chanrec *chan,int status);
38 char* take_ban(userrec *user,char *dest,chanrec *chan,int status);
39 void process_modes(char **parameters,userrec* user,chanrec *chan,int status, int pcnt, bool servermode, bool silent, bool local);
40 bool allowed_umode(char umode, char* sourcemodes,bool adding);
41 bool process_module_umode(char umode, userrec* source, void* dest, bool adding);
42 void handle_mode(char **parameters, int pcnt, userrec *user);
43 void server_mode(char **parameters, int pcnt, userrec *user);
44 void merge_mode(char **parameters, int pcnt);
45 void merge_mode2(char **parameters, int pcnt, userrec* user);