diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-01-31 14:35:13 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-01-31 14:35:13 +0100 |
commit | 3fc88ba7c97a5db3bfbb0c422afd4e180271b348 (patch) | |
tree | 68cea48581acd1e2cba232cedeb7242b05d05af7 /src/modules/m_cloaking.cpp | |
parent | 98ef89c392a63bb7a78df5e8d8283c848f9dd2af (diff) |
Remove a few unnecessary .c_str() calls
Diffstat (limited to 'src/modules/m_cloaking.cpp')
-rw-r--r-- | src/modules/m_cloaking.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index 4c2c56318..d83786a20 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -99,7 +99,7 @@ class CloakUser : public ModeHandler } if (cloak) { - user->ChangeDisplayedHost(cloak->c_str()); + user->ChangeDisplayedHost(*cloak); user->SetMode(this, true); return MODEACTION_ALLOW; } |