]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/ctables.h
Fix for permissions :p
[user/henk/code/inspircd.git] / include / ctables.h
index 7fca885bcb90cd5897bf917865e828f939e09b9f..c4b5aa3359cd1f95ed25b79e66806a41fa8122e3 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"
 
 class userrec;
 
@@ -59,7 +48,7 @@ class command_t
         */
        std::string source;
 
-       command_t(std::string cmd, char flags, int minpara) : command(cmd), flags_needed(flags), min_params(minpara)
+       command_t(const std::string &cmd, char flags, int minpara) : command(cmd), flags_needed(flags), min_params(minpara)
        {
                use_count = total_bytes = 0;
                source = "<core>";
@@ -73,4 +62,3 @@ class command_t
 typedef nspace::hash_map<std::string,command_t*> command_table;
 
 #endif
-