aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_opersha256.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-07-10 18:54:25 +0000
committerGravatar brain2006-07-10 18:54:25 +0000
commit62b550f653ca674bb84eaac77fcdbc4bfc84f135 (patch)
treeb67933ec558a040aa969025f0331dd3d305af9c1 /src/modules/m_opersha256.cpp
parentMaking lots of stuff inherit from classbase so we can use it as a holdall cla... (diff)
downloadinspircd++-62b550f653ca674bb84eaac77fcdbc4bfc84f135.tar.gz
inspircd++-62b550f653ca674bb84eaac77fcdbc4bfc84f135.tar.bz2
inspircd++-62b550f653ca674bb84eaac77fcdbc4bfc84f135.zip
Inherit tons of stuff from classbase that should always have been
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4298 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_opersha256.cpp')
-rw-r--r--src/modules/m_opersha256.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_opersha256.cpp b/src/modules/m_opersha256.cpp
index a13028061..0a18c32af 100644
--- a/src/modules/m_opersha256.cpp
+++ b/src/modules/m_opersha256.cpp
@@ -55,8 +55,9 @@ static Server *Srv;
typedef unsigned int uint32_t;
#endif
-struct SHA256Context
+class SHA256Context : public classbase
{
+ public:
unsigned int tot_len;
unsigned int len;
unsigned char block[2 * SHA256_BLOCK_SIZE];