diff options
| author | 2014-01-31 14:35:13 +0100 | |
|---|---|---|
| committer | 2014-01-31 14:35:13 +0100 | |
| commit | 3fc88ba7c97a5db3bfbb0c422afd4e180271b348 (patch) | |
| tree | 68cea48581acd1e2cba232cedeb7242b05d05af7 /src/modules/m_customtitle.cpp | |
| parent | Remove some dead code (diff) | |
Remove a few unnecessary .c_str() calls
Diffstat (limited to 'src/modules/m_customtitle.cpp')
| -rw-r--r-- | src/modules/m_customtitle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp index b0c9fad21..3386e8cd7 100644 --- a/src/modules/m_customtitle.cpp +++ b/src/modules/m_customtitle.cpp @@ -56,7 +56,7 @@ class CommandTitle : public Command ServerInstance->PI->SendMetaData(user, "ctitle", title); if (!vhost.empty()) - user->ChangeDisplayedHost(vhost.c_str()); + user->ChangeDisplayedHost(vhost); user->WriteNotice("Custom title set to '" + title + "'"); |
