From 2eae82da5c3fc53ce9d32a20b0cf5650bb60f540 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 8 Apr 2013 01:01:23 -0500 Subject: Check the channel secure option isn't set in ChannelInfo::AccessFor too --- include/users.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/users.h b/include/users.h index 5bcd61f95..4248ce744 100644 --- a/include/users.h +++ b/include/users.h @@ -221,10 +221,10 @@ class CoreExport User : public virtual Base, public Extensible, public CommandRe bool IsIdentified(bool check_nick = false) const; /** Check if the user is recognized for their nick (on the nicks access list) - * @param check_nick Only returns true if the user has secure off + * @param check_secure Only returns true if the user has secure off * @return true or false */ - bool IsRecognized(bool check_nick = true) const; + bool IsRecognized(bool check_secure = true) const; /** Check if the user is a services oper * @return true if they are an oper -- cgit