diff options
| author | 2005-12-28 21:16:31 +0000 | |
|---|---|---|
| committer | 2005-12-28 21:16:31 +0000 | |
| commit | 09725273b597ccbc91fa6b8fc4373975fa8e2304 (patch) | |
| tree | e2cc61e143a10cbefddf5aceae1d969f9f3e9312 /include | |
| parent | Removed useless isnick() checks in Give* and Take*, in the name of tidiness (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')
| -rw-r--r-- | include/ctables.h | 4 |
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 |
