From 52acbb466b84a1cd161b1c111f855d6f0419fff3 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 9 Jun 2007 12:32:34 +0000 Subject: A ton more clear() and empty() stuff thats been lingering on the long term todo for too long a term :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7264 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_setname.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_setname.cpp') diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp index c93fde452..bc2810da3 100644 --- a/src/modules/m_setname.cpp +++ b/src/modules/m_setname.cpp @@ -31,7 +31,7 @@ class cmd_setname : public command_t CmdResult Handle (const char** parameters, int pcnt, userrec *user) { - std::string line = ""; + std::string line; for (int i = 0; i < pcnt-1; i++) { line = line + std::string(parameters[i]) + " "; -- cgit v1.2.3