From 6fcbfc072387752ec345d7589e986b9959f350fc Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 11 Apr 2020 15:09:34 +0100 Subject: Add support for limiting what opers can subscribe to snomasks. --- include/configreader.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/configreader.h') 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; + /** \ block used for this oper-up. May be NULL. */ reference oper_block; /** \ block used for this oper-up. Valid for local users, may be NULL on remote */ -- cgit v1.2.3