Remove unnecessary virtual keyword occurrences

This makes it convenient to 'grep virtual' and 'grep override' :)
This commit is contained in:
J-P Nurmi
2015-02-25 18:33:09 +01:00
parent ef9939e1ec
commit 6002bd5c2b
65 changed files with 515 additions and 515 deletions
+5 -5
View File
@@ -147,7 +147,7 @@ public:
}
}
virtual bool OnLoad(const CString& sArgs, CString& sMessage) override {
bool OnLoad(const CString& sArgs, CString& sMessage) override {
m_pISpoofLockFile = NULL;
m_pIRCSock = NULL;
@@ -162,7 +162,7 @@ public:
return true;
}
virtual EModRet OnIRCConnecting(CIRCSock *pIRCSock) override {
EModRet OnIRCConnecting(CIRCSock *pIRCSock) override {
if (m_pISpoofLockFile != NULL) {
DEBUG("Aborting connection, ident spoof lock file exists");
PutModule("Aborting connection, another user or network is currently connecting and using the ident spoof file");
@@ -179,19 +179,19 @@ public:
return CONTINUE;
}
virtual void OnIRCConnected() override {
void OnIRCConnected() override {
if (m_pIRCSock == GetNetwork()->GetIRCSock()) {
ReleaseISpoof();
}
}
virtual void OnIRCConnectionError(CIRCSock *pIRCSock) override {
void OnIRCConnectionError(CIRCSock *pIRCSock) override {
if (m_pIRCSock == pIRCSock) {
ReleaseISpoof();
}
}
virtual void OnIRCDisconnected() override {
void OnIRCDisconnected() override {
if (m_pIRCSock == GetNetwork()->GetIRCSock()) {
ReleaseISpoof();
}