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_vhost.cpp | |
| parent | Remove some dead code (diff) | |
Remove a few unnecessary .c_str() calls
Diffstat (limited to 'src/modules/m_vhost.cpp')
| -rw-r--r-- | src/modules/m_vhost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_vhost.cpp b/src/modules/m_vhost.cpp index 227d9426e..53910fdbe 100644 --- a/src/modules/m_vhost.cpp +++ b/src/modules/m_vhost.cpp @@ -48,7 +48,7 @@ class CommandVhost : public Command if (!mask.empty()) { user->WriteNotice("Setting your VHost: " + mask); - user->ChangeDisplayedHost(mask.c_str()); + user->ChangeDisplayedHost(mask); return CMD_SUCCESS; } } |
