From 22cd26d391895c0aae08dac390c5183ee93cadc8 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 20 Feb 2007 06:18:19 +0000 Subject: No need to .c_str() the quitmsg, it takes const std::string& git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6605 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_quit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cmd_quit.cpp b/src/cmd_quit.cpp index 6654be74c..5c5abf7ba 100644 --- a/src/cmd_quit.cpp +++ b/src/cmd_quit.cpp @@ -34,7 +34,7 @@ CmdResult cmd_quit::Handle (const char** parameters, int pcnt, userrec *user) else quitmsg = pcnt ? parameters[0] : "Client exited"; - userrec::QuitUser(ServerInstance, user, quitmsg.c_str()); + userrec::QuitUser(ServerInstance, user, quitmsg); return CMD_SUCCESS; } -- cgit v1.2.3