mirror of
https://github.com/anope/anope.git
synced 2026-07-03 18:23:14 +02:00
Send privmsgs and notices to uids if applicable
This commit is contained in:
+2
-2
@@ -299,9 +299,9 @@ void User::SendMessage(const BotInfo *source, const Anope::string &msg)
|
||||
while (sep.GetToken(tok))
|
||||
{
|
||||
if (Config->UsePrivmsg && ((!this->nc && Config->NSDefFlags.HasFlag(NI_MSG)) || (this->nc && this->nc->HasFlag(NI_MSG))))
|
||||
ircdproto->SendPrivmsg(source, this->nick, "%s", tok.c_str());
|
||||
ircdproto->SendPrivmsg(source, this->GetUID(), "%s", tok.c_str());
|
||||
else
|
||||
ircdproto->SendNotice(source, this->nick, "%s", tok.c_str());
|
||||
ircdproto->SendNotice(source, this->GetUID(), "%s", tok.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user