summaryrefslogtreecommitdiff
path: root/src/commands/cmd_squit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_squit.cpp')
-rw-r--r--src/commands/cmd_squit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_squit.cpp b/src/commands/cmd_squit.cpp
index 61d0a601d..2fd5c701c 100644
--- a/src/commands/cmd_squit.cpp
+++ b/src/commands/cmd_squit.cpp
@@ -26,6 +26,6 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance)
CmdResult CommandSquit::Handle (const std::vector<std::string>&, User *user)
{
- user->WriteServ( "NOTICE %s :Look into loading a linking module (like m_spanningtree) if you want this to do anything useful.", user->nick);
+ user->WriteServ( "NOTICE %s :Look into loading a linking module (like m_spanningtree) if you want this to do anything useful.", user->nick.c_str());
return CMD_FAILURE;
}