summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/command_parse.h4
-rw-r--r--include/typedefs.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/include/command_parse.h b/include/command_parse.h
index 2abbdb607..0f39d3586 100644
--- a/include/command_parse.h
+++ b/include/command_parse.h
@@ -30,7 +30,7 @@
class CoreExport CommandParser
{
public:
- typedef Commandtable CommandMap;
+ typedef TR1NS::unordered_map<std::string, Command*> CommandMap;
private:
/** Process a command from a user.
@@ -41,7 +41,7 @@ class CoreExport CommandParser
/** Command list, a hash_map of command names to Command*
*/
- Commandtable cmdlist;
+ CommandMap cmdlist;
public:
/** Default constructor.
diff --git a/include/typedefs.h b/include/typedefs.h
index 336084c55..c883a0859 100644
--- a/include/typedefs.h
+++ b/include/typedefs.h
@@ -100,10 +100,6 @@ typedef std::map<std::string, reference<OperInfo> > OperIndex;
/** Files read by the configuration */
typedef std::map<std::string, file_cache> ConfigFileCache;
-/** A hash of commands used by the core
- */
-typedef TR1NS::unordered_map<std::string, Command*> Commandtable;
-
/** Membership list of a channel */
typedef std::map<User*, Membership*> UserMembList;
/** Iterator of UserMembList */