1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 21:26:37 +02:00

Merge branch '2.0' into 2.1.

This commit is contained in:
Sadie Powell
2025-02-11 13:52:53 +00:00
+5
View File
@@ -409,6 +409,11 @@ public:
}
void Prioritize() override
{
ModuleManager::SetPriority(this, I_OnBotPrivmsg, PRIORITY_FIRST);
}
EventReturn OnBotPrivmsg(User *u, BotInfo *bi, Anope::string &message, const Anope::map<Anope::string> &tags) override
{
if (!u->HasMode("OPER") && this->osignoreservice.Find(u->nick))