Skip to content

Commit

Permalink
fix typo in dpp::permission::has_any(...)
Browse files Browse the repository at this point in the history
  • Loading branch information
MCausc78 committed Jul 17, 2023
1 parent 7609e7f commit 61ac8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/dpp/permissions.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class DPP_EXPORT permission {
* **Example:**
*
* ```cpp
* bool is_mod = permission.has(dpp::p_administrator, dpp::p_ban_members);
* bool is_mod = permission.has_any(dpp::p_administrator, dpp::p_ban_members);
* // Returns true if the permission bitmask contains p_administrator or p_ban_members
* ```
*
Expand Down

0 comments on commit 61ac8d2

Please sign in to comment.