diff options
| author | Adam <Adam@drink-coca-cola.info> | 2010-05-17 23:48:18 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-06-18 21:03:43 -0400 |
| commit | cab6fcc82d2d184339bfe5ed0eba22482a404ad8 (patch) | |
| tree | 29df26a375cbaa29d0c6023ad3478b28a826c307 /include | |
| parent | 17ab4104005cc5098d9152e6c90d54977222dd06 (diff) | |
Added a founder access level used to determin who is a channel founder. This is completely independant of the owner levels
Diffstat (limited to 'include')
| -rw-r--r-- | include/extern.h | 6 | ||||
| -rw-r--r-- | include/services.h | 3 |
2 files changed, 2 insertions, 7 deletions
diff --git a/include/extern.h b/include/extern.h index 100aceaa3..6f41c3977 100644 --- a/include/extern.h +++ b/include/extern.h @@ -124,11 +124,6 @@ E void cs_remove_nick(const NickCore * nc); E void check_modes(Channel * c); E int check_valid_admin(User * user, Channel * chan, int servermode); E int check_valid_op(User * user, Channel * chan, int servermode); -E int check_should_op(User * user, char *chan); -E int check_should_voice(User * user, char *chan); -E int check_should_halfop(User * user, char *chan); -E int check_should_owner(User * user, char *chan); -E int check_should_protect(User * user, char *chan); E void record_topic(const char *chan); E void restore_topic(const char *chan); E int check_topiclock(Channel * c, time_t topic_time); @@ -138,7 +133,6 @@ E ChannelInfo *cs_findchan(const std::string &chan); E ChannelInfo *cs_findchan(const ci::string &chan); E int check_access(User * user, ChannelInfo * ci, int what); E bool IsFounder(User *user, ChannelInfo *ci); -E bool IsRealFounder(User *user, ChannelInfo *ci); E int get_access(User *user, ChannelInfo *ci); E void update_cs_lastseen(User * user, ChannelInfo * ci); E int get_idealban(ChannelInfo * ci, User * u, char *ret, int retlen); diff --git a/include/services.h b/include/services.h index 7db58e3fb..0a4648105 100644 --- a/include/services.h +++ b/include/services.h @@ -621,8 +621,9 @@ struct BadWord #define CA_AUTOOWNER 36 #define CA_OWNER 37 #define CA_OWNERME 38 +#define CA_FOUNDER 39 -#define CA_SIZE 39 +#define CA_SIZE 40 /* BotServ SET flags */ enum BotServFlag |
