diff options
-rw-r--r-- | data/chanserv.example.conf | 2 | ||||
-rw-r--r-- | include/users.h | 2 | ||||
-rw-r--r-- | modules/extra/m_xmlrpc_main.cpp | 2 | ||||
-rw-r--r-- | src/users.cpp | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf index df389b56d..a108e2177 100644 --- a/data/chanserv.example.conf +++ b/data/chanserv.example.conf @@ -82,7 +82,7 @@ chanserv * - persist: Keep the channel open at all times * - none: No defaults * - * This directive is optional, if left blank, the options will default to keetopic, secure, securefounder, + * This directive is optional, if left blank, the options will default to keeptopic, secure, securefounder, * and signkick. If you really want no defaults, use "none" by itself as the option. */ defaults="keeptopic peace secure securefounder signkick" diff --git a/include/users.h b/include/users.h index 6d7d8635e..9a1c187ec 100644 --- a/include/users.h +++ b/include/users.h @@ -194,7 +194,7 @@ class CoreExport User : public Extensible * @param CheckSecure Only returns true if the user has secure off * @return true or false */ - virtual bool IsRecognized(bool CheckSecure = false); + virtual bool IsRecognized(bool CheckSecure = true); /** Check if the user is a services oper * @return true if they are an oper diff --git a/modules/extra/m_xmlrpc_main.cpp b/modules/extra/m_xmlrpc_main.cpp index 895ad437c..ee8306e34 100644 --- a/modules/extra/m_xmlrpc_main.cpp +++ b/modules/extra/m_xmlrpc_main.cpp @@ -29,7 +29,7 @@ class XMLRPCUser : public User return na; } - bool IsRecognized(bool CheckSecure = false) + bool IsRecognized(bool CheckSecure = true) { return na; } diff --git a/src/users.cpp b/src/users.cpp index 81809e288..984e4c3ef 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -178,7 +178,7 @@ void User::SetRealname(const Anope::string &srealname) this->realname = srealname; NickAlias *na = findnick(this->nick); - if (na && (this->IsIdentified(true) || this->IsRecognized(true))) + if (na && (this->IsIdentified(true) || this->IsRecognized())) na->last_realname = srealname; Log(this, "realname") << "changed realname to " << srealname; @@ -501,7 +501,7 @@ void User::UpdateHost() if (na) OnAccess = is_on_access(this, na->nc); - if (na && (this->IsIdentified(true) || this->IsRecognized(true))) + if (na && (this->IsIdentified(true) || this->IsRecognized())) { Anope::string last_usermask = this->GetIdent() + "@" + this->GetDisplayedHost(); Anope::string last_realhost = this->GetIdent() + "@" + this->host; |