summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-12-07 18:31:57 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-12-07 18:31:57 +0000
commit805d47c98e48df374976972c3fcbba36fd4289f8 (patch)
treed55b8cf542010770881bef33e269f6ce62e4b394 /include
parent6c389362435138c1523e4aedb53938100f6b4c47 (diff)
Move stuff to use ASCII map where required.
Also move this out of being a member totally, as it breaks (gah) and is already untidy.. to be revisited. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10858 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/hashcomp.h8
-rw-r--r--include/inspircd.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index 46531f520..a7122c72c 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -54,6 +54,14 @@ unsigned const char rfc_case_insensitive_map[256] = {
240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255 /* 240-255 */
};
+/** Seperate from the other casemap tables so that code *can* still exclusively rely on RFC casemapping
+ * if it must.
+ *
+ * This is provided as a pointer so that modules can change it to their custom mapping tables,
+ * e.g. for national character support.
+ */
+extern unsigned const char *national_case_sensitive_map;
+
/** Case insensitive map, ASCII rules.
* That is;
* [ != {, but A == a.
diff --git a/include/inspircd.h b/include/inspircd.h
index 19674c118..85c2f62e6 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -402,14 +402,6 @@ class CoreExport InspIRCd : public classbase
*/
User* FakeClient;
- /** Seperate from the other casemap tables so that code *can* still exclusively rely on RFC casemapping
- * if it must.
- *
- * This is provided as a pointer so that modules can change it to their custom mapping tables,
- * e.g. for national character support.
- */
- static unsigned const char *national_case_sensitive_map;
-
/** Returns the next available UID for this server.
*/
std::string GetUID();