git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10678
e03df62e-2008-0410-955e-
edbf42e46eb7
* @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.
* @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 noisy = true);
+ */
+ bool HasPrivPermission(const std::string &privstr, bool noisy = false);
/** 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
/** 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