summaryrefslogtreecommitdiff
path: root/src/modules/m_setname.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_setname.cpp')
-rw-r--r--src/modules/m_setname.cpp2
1 files changed, 1 insertions, 1 deletions
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]) + " ";