aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_cloaking.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-06-13 14:46:41 +0100
committerGravatar Sadie Powell2021-06-13 14:46:41 +0100
commit7fa0672ebde614218a18600686370ac234e67bf0 (patch)
treefd8933975ec00af7373b890d0171f7350fab6f83 /src/modules/m_cloaking.cpp
parentFix undefined behaviour with converting a path to a string. (diff)
parentPoint to the license on the docs site not to the GNU website. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_cloaking.cpp')
-rw-r--r--src/modules/m_cloaking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp
index 31936bcec..7aea011f1 100644
--- a/src/modules/m_cloaking.cpp
+++ b/src/modules/m_cloaking.cpp
@@ -184,7 +184,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;
}
}