diff options
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/users.h b/include/users.h index 2f8730088..d8a9b3e64 100644 --- a/include/users.h +++ b/include/users.h @@ -794,8 +794,9 @@ class CoreExport User : public EventHandler * all operators, yet are not commands. An example might be oper override, mass messaging (/notice $*), etc. * * @param privstr The priv to chec, e.g. "users/override/topic". These are loaded free-form from the config file. + * @param noisy If set to true, the user is notified that they do not have the specified permission where applicable. If false, no notification is sent. * @return True if this user has the permission in question. - */ bool HasPrivPermission(const std::string &privstr); + */ bool HasPrivPermission(const std::string &privstr, bool noisy = true); /** Returns true or false if a user can set a privileged user or channel mode. * This is done by looking up their oper type from User::oper, then referencing |