1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

Fix sending global messages with the default sender.

This commit is contained in:
Sadie Powell
2025-03-13 15:12:23 +00:00
parent 3187233783
commit 645f969d70
+1 -1
View File
@@ -132,7 +132,7 @@ public:
bool SendSingle(const Anope::string &message, CommandSource *source, BotInfo* sender, Server* server) override
{
// We MUST have a sender.
if (sender)
if (!sender)
sender = global;
if (!sender)
return false;