From 7a09cebcfb90543f01603158e982a5ef19ba3110 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 5 Oct 2025 17:49:05 +0100 Subject: [PATCH] Remove an unnecessary virtual keyword from some methods. --- include/account.h | 2 +- include/bots.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/account.h b/include/account.h index 4f2390edf..570338366 100644 --- a/include/account.h +++ b/include/account.h @@ -184,7 +184,7 @@ public: /** Checks whether this account is a services oper or not. * @return True if this account is a services oper, false otherwise. */ - virtual bool IsServicesOper() const; + bool IsServicesOper() const; /** Retrieves the account id for this user */ uint64_t GetId(); diff --git a/include/bots.h b/include/bots.h index 55dde5bbe..fc53ff141 100644 --- a/include/bots.h +++ b/include/bots.h @@ -124,7 +124,7 @@ public: * @param message The users' message * @params tags Message tags */ - virtual void OnMessage(User *u, const Anope::string &message, const Anope::map &tags); + void OnMessage(User *u, const Anope::string &message, const Anope::map &tags); /** Link a command name to a command in services * @param cname The command name