From 96e0f18f7faf7bf590c311cd0b63725c64fb4800 Mon Sep 17 00:00:00 2001 From: Herman Date: Sat, 12 Jun 2021 07:59:13 +0300 Subject: Code refactor and minor fix (#1879) --- src/modules/m_cloaking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_cloaking.cpp') diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index a2bc778b0..18cc999f3 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -187,7 +187,7 @@ class CloakUser : public ModeHandler * and make it match the displayed one. */ user->SetMode(this, false); - user->ChangeDisplayedHost(user->GetRealHost().c_str()); + user->ChangeDisplayedHost(user->GetRealHost()); return MODEACTION_ALLOW; } } -- cgit v1.3.1-10-gc9f91