summaryrefslogtreecommitdiff
path: root/src/commands/cmd_connect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_connect.cpp')
-rw-r--r--src/commands/cmd_connect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_connect.cpp b/src/commands/cmd_connect.cpp
index 81340c37a..0aed872e9 100644
--- a/src/commands/cmd_connect.cpp
+++ b/src/commands/cmd_connect.cpp
@@ -27,6 +27,6 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance)
*/
CmdResult CommandConnect::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_SUCCESS;
}