aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_callerid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_callerid.cpp')
-rw-r--r--src/modules/m_callerid.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp
index 516d1d513..678d923cb 100644
--- a/src/modules/m_callerid.cpp
+++ b/src/modules/m_callerid.cpp
@@ -426,8 +426,7 @@ public:
if (now > (dat->lastnotify + long(notify_cooldown)))
{
user->WriteNumeric(RPL_TARGNOTIFY, dest->nick, "has been informed that you messaged them.");
- dest->WriteRemoteNumeric(RPL_UMODEGMSG, user->nick,
- INSP_FORMAT("{}@{}", user->ident, user->GetDisplayedHost()),
+ dest->WriteRemoteNumeric(RPL_UMODEGMSG, user->nick, user->GetUserHost(),
INSP_FORMAT("is messaging you, and you have user mode +{} set. Use /ACCEPT +{} to allow.", myumode.GetModeChar(), user->nick)
);
dat->lastnotify = now;