summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-04-08 01:01:23 -0500
committerAdam <Adam@anope.org>2013-04-08 01:01:27 -0500
commit2eae82da5c3fc53ce9d32a20b0cf5650bb60f540 (patch)
treef9567671e3f600b9f9bf4bfe9ed73a99416f1754 /include/users.h
parent72493b73056662330592cf5c2f8c77bacd8903b5 (diff)
Check the channel secure option isn't set in ChannelInfo::AccessFor too
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h4
1 files changed, 2 insertions, 2 deletions
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