summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-08 17:20:37 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-08 17:20:37 +0000
commit643e75680d468bfd6532ed7befe93ff14ff6b0a5 (patch)
tree03883258fd602c2af7e6c421c99c9aa9a83129a4
parent2841f55d4b78eeab30e42835e298ee5141ea09dc (diff)
Grr fucking windows grrrr fuckity fuckity
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11059 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xsrc/modules/m_nationalchars.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/modules/m_nationalchars.cpp b/src/modules/m_nationalchars.cpp
index 1533f4d00..17be414a6 100755
--- a/src/modules/m_nationalchars.cpp
+++ b/src/modules/m_nationalchars.cpp
@@ -21,7 +21,14 @@
/* $ModDesc: Provides an ability to have non-RFC1459 nicks & support for national CASEMAPPING */
-DEFINE_HANDLER2(lwbNickHandler, bool, const char*, size_t);
+class lwbNickHandler : public HandlerBase2<bool, const char*, size_t>
+{
+ InspIRCd* Server;
+ public:
+ lwbNickHandler(InspIRCd* Srv) : Server(Srv) { }
+ virtual ~lwbNickHandler() { }
+ virtual bool Call(const char*, size_t);
+};
/*,m_reverse_additionalUp[256];*/
static unsigned char m_reverse_additional[256],m_additionalMB[256],m_additionalUtf8[256],m_additionalUtf8range[256];