From 94bb5343b1464cbec9f58ee9d90a3deae3ac5308 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 2 Sep 2009 00:47:45 +0000 Subject: Remove calls to strdup() in core, it is not better than std::string git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11623 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/commands/cmd_whowas.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/commands') diff --git a/include/commands/cmd_whowas.h b/include/commands/cmd_whowas.h index c2e83a634..9788b3d33 100644 --- a/include/commands/cmd_whowas.h +++ b/include/commands/cmd_whowas.h @@ -102,19 +102,19 @@ class WhoWasGroup : public classbase public: /** Real host */ - char* host; + std::string host; /** Displayed host */ - char* dhost; + std::string dhost; /** Ident */ - char* ident; + std::string ident; /** Server name */ const char* server; /** Fullname (GECOS) */ - char* gecos; + std::string gecos; /** Signon time */ time_t signon; -- cgit v1.2.3