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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user