diff options
Diffstat (limited to 'src/modules/m_setname.cpp')
-rw-r--r-- | src/modules/m_setname.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp index 72d255be7..30eab34df 100644 --- a/src/modules/m_setname.cpp +++ b/src/modules/m_setname.cpp @@ -44,7 +44,7 @@ class cmd_setname : public command_t line = line + std::string(parameters[i]) + " "; } line = line + std::string(parameters[pcnt-1]); - Srv->ChangeGECOS(user,line); + user->ChangeName(line.c_str()); } }; |