diff options
| author | Adam <Adam@anope.org> | 2012-09-07 23:44:15 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-09-07 23:44:15 -0400 |
| commit | 7e3b5bed50b87d599fec25a018771ebce47f969f (patch) | |
| tree | 4e74b53755ec94bc070a68017fa48e5317cb2327 /include | |
| parent | c9c477ff9d7e6f833fafac2ef058f82b89229f60 (diff) | |
Add chanserv/set/autoop, like nickserv/set/autoop but for channels
Diffstat (limited to 'include')
| -rw-r--r-- | include/channels.h | 2 | ||||
| -rw-r--r-- | include/regchannel.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/channels.h b/include/channels.h index dbc71129d..b64ae84f4 100644 --- a/include/channels.h +++ b/include/channels.h @@ -255,6 +255,6 @@ extern CoreExport void do_join(const Anope::string &source, const Anope::string extern CoreExport void do_kick(const Anope::string &source, const Anope::string &channel, const Anope::string &users, const Anope::string &reason); extern CoreExport void do_part(const Anope::string &source, const Anope::string &channels, const Anope::string &reason); -extern CoreExport void chan_set_correct_modes(const User *user, Channel *c, int give_modes); +extern CoreExport void chan_set_correct_modes(const User *user, Channel *c, int give_modes, bool check_noop); #endif // CHANNELS_H diff --git a/include/regchannel.h b/include/regchannel.h index 9640a6735..b22ebf677 100644 --- a/include/regchannel.h +++ b/include/regchannel.h @@ -62,6 +62,8 @@ enum ChannelInfoFlag CI_PERSIST, /* Chanstats are enabled */ CI_STATS, + /* If set users are not auto given any status on join */ + CI_NOAUTOOP, CI_END }; @@ -69,7 +71,7 @@ enum ChannelInfoFlag const Anope::string ChannelInfoFlagStrings[] = { "BEGIN", "KEEPTOPIC", "SECUREOPS", "PRIVATE", "TOPICLOCK", "RESTRICTED", "PEACE", "SECURE", "NO_EXPIRE", "MEMO_HARDMAX", "SECUREFOUNDER", - "SIGNKICK", "SIGNKICK_LEVEL", "SUSPENDED", "PERSIST", "STATS", "" + "SIGNKICK", "SIGNKICK_LEVEL", "SUSPENDED", "PERSIST", "STATS", "NOAUTOOP", "" }; /** Flags for badwords |
