mirror of
https://github.com/anope/anope.git
synced 2026-06-27 17:26:39 +02:00
Made os_news send news notices from NickServ if global is disabled
This commit is contained in:
@@ -245,6 +245,12 @@ void User::SendMessage(const Anope::string &source, const Anope::string &msg) co
|
||||
|
||||
void User::SendMessage(BotInfo *source, LanguageString message, ...) const
|
||||
{
|
||||
if (!source)
|
||||
{
|
||||
Log(LOG_DEBUG) << "Tried to send message " << message << " with nonexistant source!";
|
||||
return;
|
||||
}
|
||||
|
||||
Anope::string m = GetString(this, message);
|
||||
|
||||
if (Config->UseStrictPrivMsg)
|
||||
|
||||
Reference in New Issue
Block a user