summaryrefslogtreecommitdiff
path: root/modules/encryption/enc_sha1.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-02-18 15:04:26 -0500
committerAdam <Adam@anope.org>2012-02-18 15:04:26 -0500
commitee5cd8493e34a1c049066ead25e9094b30cd49b5 (patch)
tree846c6dcd9bb2c4d721c6290a9b9d6b6ed880acdb /modules/encryption/enc_sha1.cpp
parent41e8d276023e8fefc22fb89c2f81ae17b8222155 (diff)
Use C++11's explicit override feature if available
Diffstat (limited to 'modules/encryption/enc_sha1.cpp')
-rw-r--r--modules/encryption/enc_sha1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/encryption/enc_sha1.cpp b/modules/encryption/enc_sha1.cpp
index a0854d762..d5d49b63e 100644
--- a/modules/encryption/enc_sha1.cpp
+++ b/modules/encryption/enc_sha1.cpp
@@ -176,7 +176,7 @@ class ESHA1 : public Module
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
}
- EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest)
+ EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest) anope_override
{
SHA1_CTX context;
char digest[21] = "";
@@ -192,7 +192,7 @@ class ESHA1 : public Module
return EVENT_ALLOW;
}
- EventReturn OnCheckAuthentication(Command *c, CommandSource *source, const std::vector<Anope::string> &params, const Anope::string &account, const Anope::string &password)
+ EventReturn OnCheckAuthentication(Command *c, CommandSource *source, const std::vector<Anope::string> &params, const Anope::string &account, const Anope::string &password) anope_override
{
NickAlias *na = findnick(account);
NickCore *nc = na ? na->nc : NULL;