]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/command_parse.h
Remove InspIRCd::BindSocket()
[user/henk/code/inspircd.git] / include / command_parse.h
index bdbc12757ecfea56c1f9d3147879058b954538e6..0f39d35860f3ec7415372fadb7eb5bfd2e625882 100644 (file)
@@ -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.
@@ -39,11 +39,11 @@ class CoreExport CommandParser
         */
        void ProcessCommand(LocalUser* user, std::string& cmd);
 
- public:
        /** Command list, a hash_map of command names to Command*
         */
-       Commandtable cmdlist;
+       CommandMap cmdlist;
 
+ public:
        /** Default constructor.
         */
        CommandParser();