summaryrefslogtreecommitdiff
path: root/src/modules/m_namesx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_namesx.cpp')
-rw-r--r--src/modules/m_namesx.cpp2
1 files changed, 1 insertions, 1 deletions
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