diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd_quit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |