diff options
| author | 2008-10-18 19:13:25 +0000 | |
|---|---|---|
| committer | 2008-10-18 19:13:25 +0000 | |
| commit | db3eea2ac4bbc2ff36e0b3314a6c0109f196f3d2 (patch) | |
| tree | 9c69fdda4de273a061cbdb1d871815a4d288d260 /include | |
| parent | Some documentation corrections, thanks jdhore. (diff) | |
| download | inspircd++-db3eea2ac4bbc2ff36e0b3314a6c0109f196f3d2.tar.gz inspircd++-db3eea2ac4bbc2ff36e0b3314a6c0109f196f3d2.tar.bz2 inspircd++-db3eea2ac4bbc2ff36e0b3314a6c0109f196f3d2.zip | |
Default 'noisy' to false. Until i hear from w00t i cant see how this can be of use right now (non-opers get spammed with crap just from doing regular things like joining channels)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10678 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
| -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 d8a9b3e64..48026d473 100644 --- a/include/users.h +++ b/include/users.h @@ -796,7 +796,8 @@ class CoreExport User : public EventHandler * @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 |
