1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 09:16:38 +02:00

Trying to make things a little more const-safe, a work in progress but this is a bit better.

This commit is contained in:
Naram Qashat
2010-07-26 23:32:03 -04:00
parent 6e6b6b46aa
commit 57bb759305
34 changed files with 143 additions and 141 deletions
+2 -2
View File
@@ -150,12 +150,12 @@ void IRCDProto::SendPrivmsg(BotInfo *bi, const Anope::string &dest, const char *
SendPrivmsgInternal(bi, dest, buf);
}
void IRCDProto::SendGlobalNotice(BotInfo *bi, Server *dest, const Anope::string &msg)
void IRCDProto::SendGlobalNotice(BotInfo *bi, const Server *dest, const Anope::string &msg)
{
send_cmd(ircd->ts6 ? bi->GetUID() : bi->nick, "NOTICE %s%s :%s", ircd->globaltldprefix, dest->GetName().c_str(), msg.c_str());
}
void IRCDProto::SendGlobalPrivmsg(BotInfo *bi, Server *dest, const Anope::string &msg)
void IRCDProto::SendGlobalPrivmsg(BotInfo *bi, const Server *dest, const Anope::string &msg)
{
send_cmd(ircd->ts6 ? bi->GetUID() : bi->nick, "PRIVMSG %s%s :%s", ircd->globaltldprefix, dest->GetName().c_str(), msg.c_str());
}