summaryrefslogtreecommitdiff
path: root/include/configreader.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-04-11 15:09:34 +0100
committerSadie Powell <sadie@witchery.services>2020-04-11 15:44:51 +0100
commit6fcbfc072387752ec345d7589e986b9959f350fc (patch)
treec62f9074e1d1409ac4379025d6938cbaf8c8e29f /include/configreader.h
parent41f781a9a6560eab393b18815dbdfa9073c6810b (diff)
Add support for limiting what opers can subscribe to snomasks.
Diffstat (limited to 'include/configreader.h')
-rw-r--r--include/configreader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 4deef83f4..5a775a016 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -188,6 +188,9 @@ class CoreExport OperInfo : public refcountbase
/** Allowed channel modes from oper classes. */
std::bitset<64> AllowedChanModes;
+ /** Allowed snomasks from oper classes. */
+ std::bitset<64> AllowedSnomasks;
+
/** \<oper> block used for this oper-up. May be NULL. */
reference<ConfigTag> oper_block;
/** \<type> block used for this oper-up. Valid for local users, may be NULL on remote */