diff options
| author | Adam <Adam@drink-coca-cola.info> | 2010-05-28 18:27:22 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-06-18 21:04:08 -0400 |
| commit | 435c9116e9997634eb7215e998c8f01a5e46fb2c (patch) | |
| tree | 408ebfea2bef0fc8595f5d873c70549314fb40d8 /include | |
| parent | c43666e344250e4d559d116a73a9d4a313cf1645 (diff) | |
Added an arg to User::IsRecognized to check for NI_SECURE
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 135e115ef..880827c73 100644 --- a/include/users.h +++ b/include/users.h @@ -188,9 +188,10 @@ class CoreExport User : public Extensible virtual const bool IsIdentified(bool CheckNick = false) const; /** Check if the user is recognized for their nick (on the nicks access list) + * @param CheckSecure Only returns true if the user has secure off * @return true or false */ - virtual const bool IsRecognized() const; + virtual const bool IsRecognized(bool CheckSecure = false) const; /** Update the last usermask stored for a user, and check to see if they are recognized */ |
