21 s->
Notice(sender, message);
22 for (
unsigned i = 0, j = s->
GetLinks().size(); i < j; ++i)
43 if (!source.empty() && !
Config->GetModule(
"global")->Get<
bool>(
"anonymousglobal"))
44 rmessage =
"[" + source +
"] " + message;
83 s->Notice(Global, gl);
88 if (!params.empty() || source.c || source.service != *
Global)
90 source.Reply(
_(
"%s commands:"), Global->
nick.
c_str());
Reference< BotInfo > Global
void Notice(BotInfo *source, const Anope::string &message)
GlobalCore(const Anope::string &modname, const Anope::string &creator)
void OnNewServer(Server *s) anope_override
EventReturn OnPreHelp(CommandSource &source, const std::vector< Anope::string > ¶ms) anope_override
CoreExport Server * GetUplink()
void OnReload(Configuration::Conf *conf) anope_override
void OnShutdown() anope_override
const std::vector< Server * > & GetLinks() const
const char * c_str() const
void SendGlobal(BotInfo *sender, const Anope::string &source, const Anope::string &message) anope_override
void OnRestart() anope_override
static BotInfo * Find(const Anope::string &nick, bool nick_only=false)
void ServerGlobal(BotInfo *sender, Server *s, const Anope::string &message)