diff options
| author | 2016-09-02 19:58:44 +0200 | |
|---|---|---|
| committer | 2016-09-02 19:58:44 +0200 | |
| commit | 65667e7cc2f741afdfcfaad40f57d8cab5254633 (patch) | |
| tree | 92244ff2510d213662fa5c4845392bba1deddd5a /include/modules/cap.h | |
| parent | m_spanningtree Add workaround to make SVS* commands work when using ENCAP (diff) | |
Fix Windows build and most MSVC warnings
Diffstat (limited to 'include/modules/cap.h')
| -rw-r--r-- | include/modules/cap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules/cap.h b/include/modules/cap.h index e6f9340e8..86a60c445 100644 --- a/include/modules/cap.h +++ b/include/modules/cap.h @@ -197,7 +197,7 @@ namespace Cap if (!IsRegistered()) return false; Ext caps = extitem->get(user); - return (caps & GetMask()); + return ((caps & GetMask()) != 0); } /** Turn the capability on/off for a user. If the cap is not registered this method has no effect. |
