| 1 |
|
/* |
| 2 |
|
* ircd-hybrid: an advanced, lightweight Internet Relay Chat Daemon (ircd) |
| 3 |
|
* |
| 4 |
< |
* Copyright (c) 1997-2014 ircd-hybrid development team |
| 4 |
> |
* Copyright (c) 1997-2015 ircd-hybrid development team |
| 5 |
|
* |
| 6 |
|
* This program is free software; you can redistribute it and/or modify |
| 7 |
|
* it under the terms of the GNU General Public License as published by |
| 15 |
|
* |
| 16 |
|
* You should have received a copy of the GNU General Public License |
| 17 |
|
* along with this program; if not, write to the Free Software |
| 18 |
< |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
| 18 |
> |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 |
| 19 |
|
* USA |
| 20 |
|
*/ |
| 21 |
|
|
| 33 |
|
|
| 34 |
|
struct Client; |
| 35 |
|
|
| 36 |
< |
extern const unsigned int user_modes[]; |
| 36 |
> |
struct user_modes |
| 37 |
> |
{ |
| 38 |
> |
unsigned char c; |
| 39 |
> |
unsigned int flag; |
| 40 |
> |
}; |
| 41 |
|
|
| 42 |
< |
extern void assemble_umode_buffer(void); |
| 42 |
> |
extern const struct user_modes *umode_map[]; |
| 43 |
> |
extern const struct user_modes umode_tab[]; |
| 44 |
> |
|
| 45 |
> |
extern void user_usermodes_init(void); |
| 46 |
|
extern void send_umode(struct Client *, struct Client *, |
| 47 |
|
unsigned int, char *); |
| 48 |
< |
extern void send_umode_out(struct Client *, struct Client *, unsigned int); |
| 48 |
> |
extern void send_umode_out(struct Client *, unsigned int); |
| 49 |
|
extern void show_lusers(struct Client *); |
| 50 |
|
extern void show_isupport(struct Client *); |
| 51 |
|
extern void oper_up(struct Client *); |