]> jfr.im git - irc/rqf/shadowircd.git/blob - include/tgchange.h
Don't allow +Z to be set by default_umodes
[irc/rqf/shadowircd.git] / include / tgchange.h
1 /*
2 * charybdis: an advanced Internet Relay Chat Daemon(ircd).
3 *
4 * Copyright (C) 2004-2005 Lee Hardy <lee@leeh.co.uk>
5 * Copyright (C) 2005-2010 Jilles Tjoelker <jilles@stack.nl>
6 * Copyright (C) 2004-2005 ircd-ratbox development team
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21 * USA
22 */
23
24 #ifndef INCLUDED_tgchange_h
25 #define INCLUDED_tgchange_h
26
27 #include "ircd_defs.h"
28
29 /* finds a channel where source_p has op or voice and target_p is a member */
30 struct Channel *find_allowing_channel(struct Client *source_p, struct Client *target_p);
31 /* checks if source_p is allowed to send to target_p */
32 int add_target(struct Client *source_p, struct Client *target_p);
33 /* checks if source_p is allowed to send to chptr */
34 int add_channel_target(struct Client *source_p, struct Channel *chptr);
35 /* allows source_p to send to target_p */
36 void add_reply_target(struct Client *source_p, struct Client *target_p);
37
38 #endif /* INCLUDED_tgchange_h */