diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-19 19:12:43 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-19 19:12:43 +0000 |
commit | 12427e75fe175fe7a62f388281dd7ab5100c9dda (patch) | |
tree | dde95798e65c424b74e0ce9682ebda4dd1dfa419 /src/commands/cmd_whowas.cpp | |
parent | 5865b900cd950755bee1f7001552951d99529d4d (diff) |
Convert connection::host
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9768 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_whowas.cpp')
-rw-r--r-- | src/commands/cmd_whowas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |