summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlinuxdaemon <linuxdaemon@snoonet.org>2019-03-12 12:04:01 -0500
committerPeter Powell <petpow@saberuk.com>2019-03-12 17:14:53 +0000
commit1003c593bfd455734a8f39f137d4ce68e7e87ca8 (patch)
tree7e1f5680cd66fc6d7e344f914b7f42fb6745880c /src
parentc02b30b96e48fb4b01c275c1b8b49d69ad2ebd4a (diff)
Rename GetFlagIndex -> GetFieldIndex
Diffstat (limited to 'src')
-rw-r--r--src/coremods/core_who.cpp2
-rw-r--r--src/modules/m_hideoper.cpp2
-rw-r--r--src/modules/m_namesx.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/coremods/core_who.cpp b/src/coremods/core_who.cpp
index 52af2d2ce..d6df6de20 100644
--- a/src/coremods/core_who.cpp
+++ b/src/coremods/core_who.cpp
@@ -39,7 +39,7 @@ static const char who_field_order[] = "cuhsnf";
struct WhoData : public Who::Request
{
- bool GetFlagIndex(char flag, size_t& out) const CXX11_OVERRIDE
+ bool GetFieldIndex(char flag, size_t& out) const CXX11_OVERRIDE
{
if (!whox)
{
diff --git a/src/modules/m_hideoper.cpp b/src/modules/m_hideoper.cpp
index 8feb1a852..d78ed538b 100644
--- a/src/modules/m_hideoper.cpp
+++ b/src/modules/m_hideoper.cpp
@@ -124,7 +124,7 @@ class ModuleHideOper
return MOD_RES_DENY;
size_t flag_index;
- if (!request.GetFlagIndex('f', flag_index))
+ if (!request.GetFieldIndex('f', flag_index))
return MOD_RES_PASSTHRU;
// hide the "*" that marks the user as an oper from the /WHO line
diff --git a/src/modules/m_namesx.cpp b/src/modules/m_namesx.cpp
index 1e051e75c..ac15c9723 100644
--- a/src/modules/m_namesx.cpp
+++ b/src/modules/m_namesx.cpp
@@ -85,7 +85,7 @@ class ModuleNamesX
return MOD_RES_PASSTHRU;
size_t flag_index;
- if (!request.GetFlagIndex('f', flag_index))
+ if (!request.GetFieldIndex('f', flag_index))
return MOD_RES_PASSTHRU;
// #chan ident localhost insp22.test nick H@ :0 Attila