]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/ctables.h
Add voice, halfop and op counts
[user/henk/code/inspircd.git] / include / ctables.h
index d98e1701d516bef0152d8bb50958235b51c77ced..0acf0d02ab7b686b4037bd1bebe4114cf88d1319 100644 (file)
 #define __CTABLES_H__
 
 #include "inspircd_config.h"
-
-#ifdef GCC3
-#include <ext/hash_map>
-#else
-#include <hash_map>
-#endif
-
-#ifdef GCC3
-#define nspace __gnu_cxx
-#else
-#define nspace std
-#endif
+#include "hash_map.h"
+#include "base.h"
 
 class userrec;
 
@@ -37,7 +27,7 @@ class userrec;
 
 /** A structure that defines a command
  */
-class command_t
+class command_t : public Extensible
 {
  public:
        /** Command name
@@ -73,4 +63,3 @@ class command_t
 typedef nspace::hash_map<std::string,command_t*> command_table;
 
 #endif
-