From 435c9116e9997634eb7215e998c8f01a5e46fb2c Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 28 May 2010 18:27:22 -0400 Subject: Added an arg to User::IsRecognized to check for NI_SECURE --- include/users.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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 */ -- cgit