diff options
Diffstat (limited to 'src/modules/m_opersha256.cpp')
-rw-r--r-- | src/modules/m_opersha256.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_opersha256.cpp b/src/modules/m_opersha256.cpp index 74dad8315..451a2c195 100644 --- a/src/modules/m_opersha256.cpp +++ b/src/modules/m_opersha256.cpp @@ -47,7 +47,7 @@ using namespace std; #include "helperfuncs.h" #include "inspircd.h" -static Server *Srv; + #define SHA256_DIGEST_SIZE (256 / 8) #define SHA256_BLOCK_SIZE (512 / 8) @@ -251,7 +251,7 @@ public: { mksha256cmd = new cmd_mksha256(); - Srv->AddCommand(mksha256cmd); + ServerInstance->AddCommand(mksha256cmd); } virtual ~ModuleOperSHA256() |