aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_customtitle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_customtitle.cpp')
-rw-r--r--src/modules/m_customtitle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp
index 49bf1796e..ccc9c37f8 100644
--- a/src/modules/m_customtitle.cpp
+++ b/src/modules/m_customtitle.cpp
@@ -48,7 +48,7 @@ struct CustomTitle final
bool MatchUser(User* user) const
{
- return InspIRCd::MatchMask(host, user->MakeHost(), user->MakeHostIP());
+ return InspIRCd::MatchMask(host, user->GetRealUserHost(), user->GetUserAddress());
}
bool CheckPass(const std::string& pass) const