aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_cloaking.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-07-10 18:48:40 +0000
committerGravatar brain2006-07-10 18:48:40 +0000
commit73e972340bee8ea9cdbbe5520b1b461fbce1f121 (patch)
treefbe2e4a7a38555a72e73f2a29ae1b4a273408f7d /src/modules/m_cloaking.cpp
parentRemove commented out old methods that became templates (diff)
Making lots of stuff inherit from classbase so we can use it as a holdall class that we can throw around with dynamic_cast<>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4297 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_cloaking.cpp')
-rw-r--r--src/modules/m_cloaking.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp
index 33e41355c..99898259a 100644
--- a/src/modules/m_cloaking.cpp
+++ b/src/modules/m_cloaking.cpp
@@ -58,7 +58,9 @@ typedef unsigned int uint32_t;
typedef uint32_t word32; /* NOT unsigned long. We don't support 16 bit platforms, anyway. */
typedef unsigned char byte;
-struct xMD5Context {
+class xMD5Context : public classbase
+{
+ public:
word32 buf[4];
word32 bytes[2];
word32 in[16];