From 12427e75fe175fe7a62f388281dd7ab5100c9dda Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 19 May 2008 19:12:43 +0000 Subject: Convert connection::host git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9768 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_whowas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_whowas.cpp') diff --git a/src/commands/cmd_whowas.cpp b/src/commands/cmd_whowas.cpp index efd15e3d6..614598972 100644 --- a/src/commands/cmd_whowas.cpp +++ b/src/commands/cmd_whowas.cpp @@ -317,7 +317,7 @@ CommandWhowas::~CommandWhowas() WhoWasGroup::WhoWasGroup(User* user) : host(NULL), dhost(NULL), ident(NULL), server(NULL), gecos(NULL), signon(user->signon) { - this->host = strdup(user->host); + this->host = strdup(user->host.c_str()); this->dhost = strdup(user->dhost.c_str()); this->ident = strdup(user->ident.c_str()); this->server = user->server; -- cgit v1.2.3