]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nationalchars.cpp
Weed out a few leftover server instances from before modules had ServerInstance....
[user/henk/code/inspircd.git] / src / modules / m_nationalchars.cpp
index 5d2be96d75abd0cbaec0a11327f154288c0fb32f..72f2337152a3a019dfb0202719ae63479cd21640 100755 (executable)
@@ -3,7 +3,7 @@
  *       +------------------------------------+
  *
  *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *         the file COPYING for details.
@@ -226,7 +226,7 @@ class ModuleNationalChars : public Module
  public:
        ModuleNationalChars(InspIRCd* Me) : Module(Me)
        {
-               rememberer = (caller2<bool, const char*, size_t> *) malloc(sizeof(rememberer));
+               rememberer = (caller2<bool, const char*, size_t> *) malloc(sizeof(caller2<bool, const char*, size_t>));
 
                lowermap_rememberer = national_case_insensitive_map;
                memcpy(m_lower, rfc_case_insensitive_map, 256);
@@ -288,7 +288,7 @@ class ModuleNationalChars : public Module
 
        virtual Version GetVersion()
        {
-               return Version("$Id: m_nationalchars.cpp 0 2008-12-15 14:24:12SAMT phoenix $",VF_COMMON,API_VERSION);
+               return Version("$Id$",VF_COMMON,API_VERSION);
        }
 
        /*make an array to check against it 8bit characters a bit faster. Whether allowed or uppercase (for your needs).*/