mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
Remove unnecessary virtual keyword occurrences
This makes it convenient to 'grep virtual' and 'grep override' :)
This commit is contained in:
+5
-5
@@ -188,11 +188,11 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
virtual bool OnServerCapAvailable(const CString& sCap) override {
|
||||
bool OnServerCapAvailable(const CString& sCap) override {
|
||||
return sCap.Equals("sasl");
|
||||
}
|
||||
|
||||
virtual void OnServerCapResult(const CString& sCap, bool bSuccess) override {
|
||||
void OnServerCapResult(const CString& sCap, bool bSuccess) override {
|
||||
if (sCap.Equals("sasl")) {
|
||||
if (bSuccess) {
|
||||
GetMechanismsString().Split(" ", m_Mechanisms);
|
||||
@@ -212,7 +212,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
virtual EModRet OnRaw(CString &sLine) override {
|
||||
EModRet OnRaw(CString &sLine) override {
|
||||
if (sLine.Token(0).Equals("AUTHENTICATE")) {
|
||||
Authenticate(sLine.Token(1, true));
|
||||
} else if (sLine.Token(1).Equals("903")) {
|
||||
@@ -246,14 +246,14 @@ public:
|
||||
return HALT;
|
||||
}
|
||||
|
||||
virtual void OnIRCConnected() override {
|
||||
void OnIRCConnected() override {
|
||||
/* Just incase something slipped through, perhaps the server doesn't
|
||||
* respond to our CAP negotiation. */
|
||||
|
||||
CheckRequireAuth();
|
||||
}
|
||||
|
||||
virtual void OnIRCDisconnected() override {
|
||||
void OnIRCDisconnected() override {
|
||||
m_bAuthenticated = false;
|
||||
}
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user