diff options
Diffstat (limited to 'src/modules/m_gecosban.cpp')
-rw-r--r-- | src/modules/m_gecosban.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_gecosban.cpp b/src/modules/m_gecosban.cpp index 9b449da06..ae399a81f 100644 --- a/src/modules/m_gecosban.cpp +++ b/src/modules/m_gecosban.cpp @@ -31,7 +31,7 @@ class ModuleGecosBan : public Module { if ((mask.length() > 2) && (mask[0] == 'r') && (mask[1] == ':')) { - if (InspIRCd::Match(user->fullname, mask.substr(2))) + if (InspIRCd::Match(user->GetRealName(), mask.substr(2))) return MOD_RES_DENY; } return MOD_RES_PASSTHRU; |