From 3fc88ba7c97a5db3bfbb0c422afd4e180271b348 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Fri, 31 Jan 2014 14:35:13 +0100 Subject: Remove a few unnecessary .c_str() calls --- src/modules/m_customtitle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_customtitle.cpp') 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 + "'"); -- cgit v1.3.1-10-gc9f91