summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/channels.h2
-rw-r--r--include/regchannel.h4
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