mirror of
https://github.com/znc/znc.git
synced 2026-06-21 02:25:18 +02:00
Remove unnecessary virtual keyword occurrences
This makes it convenient to 'grep virtual' and 'grep override' :)
This commit is contained in:
@@ -32,7 +32,7 @@ public:
|
||||
|
||||
virtual ~CBlockUser() {}
|
||||
|
||||
virtual bool OnLoad(const CString& sArgs, CString& sMessage) override {
|
||||
bool OnLoad(const CString& sArgs, CString& sMessage) override {
|
||||
VCString vArgs;
|
||||
VCString::iterator it;
|
||||
MCString::iterator it2;
|
||||
@@ -56,7 +56,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual EModRet OnLoginAttempt(std::shared_ptr<CAuthBase> Auth) override {
|
||||
EModRet OnLoginAttempt(std::shared_ptr<CAuthBase> Auth) override {
|
||||
if (IsBlocked(Auth->GetUsername())) {
|
||||
Auth->RefuseLogin(MESSAGE);
|
||||
return HALT;
|
||||
|
||||
Reference in New Issue
Block a user