summaryrefslogtreecommitdiff
path: root/include/ctables.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-28 21:16:31 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-28 21:16:31 +0000
commit09725273b597ccbc91fa6b8fc4373975fa8e2304 (patch)
treee2cc61e143a10cbefddf5aceae1d969f9f3e9312 /include/ctables.h
parentadbbfd1238e4f87872fa1acbf3d19e550a62e47a (diff)
EXPERIMENTAL: Command search function now uses std::map, should be faster (i hope)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2684 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/ctables.h')
-rw-r--r--include/ctables.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ctables.h b/include/ctables.h
index 65b469948..e5cdddefb 100644
--- a/include/ctables.h
+++ b/include/ctables.h
@@ -18,7 +18,7 @@
#define __CTABLES_H__
#include "inspircd_config.h"
-#include <deque>
+#include <map>
class userrec;
@@ -59,7 +59,7 @@ class command_t
virtual ~command_t() {}
};
-typedef std::deque<command_t*> command_table;
+typedef std::map<std::string,command_t*> command_table;
#endif