From cf2fd595e08ff181f062bb238aea646ed719d946 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Wed, 9 Jul 2014 15:16:22 +0200 Subject: core_whowas Switch from map to a hash map and from irc::string to std::string --- include/commands/cmd_whowas.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/commands/cmd_whowas.h b/include/commands/cmd_whowas.h index 021e9e3b7..8e1a8059d 100644 --- a/include/commands/cmd_whowas.h +++ b/include/commands/cmd_whowas.h @@ -46,11 +46,11 @@ namespace WhoWas /** Nickname whose information is stored in this class */ - const irc::string nick; + const std::string nick; /** Constructor to initialize fields */ - Nick(const irc::string& nickname); + Nick(const std::string& nickname); /** Destructor, deallocates all elements in the entries container */ @@ -64,7 +64,7 @@ namespace WhoWas /** Sets of users in the whowas system */ -typedef std::map whowas_users; +typedef TR1NS::unordered_map whowas_users; /** Handle /WHOWAS. These command handlers can be reloaded by the core, * and handle basic RFC1459 commands. Commands within modules work -- cgit v1.2.3