diff options
| author | 2019-02-01 10:49:00 +0000 | |
|---|---|---|
| committer | 2019-02-04 09:47:26 +0000 | |
| commit | 09da1499d7bc3a380c2b828eed22e3639d6e5e27 (patch) | |
| tree | 2973ab4fe6f9d4aa7e5ebf5ea8d892b5f1cea423 /src/modules/m_ident.cpp | |
| parent | ident: store the timeout as an unsigned value and limit to 60s. (diff) | |
| download | inspircd++-09da1499d7bc3a380c2b828eed22e3639d6e5e27.tar.gz inspircd++-09da1499d7bc3a380c2b828eed22e3639d6e5e27.tar.bz2 inspircd++-09da1499d7bc3a380c2b828eed22e3639d6e5e27.zip | |
ident: rename nolookupprefix to prefixunqueried.
Diffstat (limited to 'src/modules/m_ident.cpp')
| -rw-r--r-- | src/modules/m_ident.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index f47901123..f3f8e7dd7 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -256,7 +256,7 @@ class ModuleIdent : public Module { private: unsigned int timeout; - bool NoLookupPrefix; + bool prefixunqueried; SimpleExtItem<IdentRequestSocket, stdalgo::culldeleter> ext; static void PrefixIdent(LocalUser* user) @@ -292,7 +292,7 @@ class ModuleIdent : public Module { ConfigTag* tag = ServerInstance->Config->ConfValue("ident"); timeout = tag->getDuration("timeout", 5, 1, 60); - NoLookupPrefix = tag->getBool("nolookupprefix", false); + prefixunqueried = tag->getBool("prefixunqueried"); } void OnSetUserIP(LocalUser* user) CXX11_OVERRIDE @@ -340,7 +340,7 @@ class ModuleIdent : public Module IdentRequestSocket *isock = ext.get(user); if (!isock) { - if (NoLookupPrefix) + if (prefixunqueried) PrefixIdent(user); return MOD_RES_PASSTHRU; } |
