1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 07:16:37 +02:00
Files
anope/modules/pseudoclients/global.h
T

21 lines
525 B
C++

#ifndef GLOBAL_H
#define GLOBAL_H
class GlobalService : public Service<Base>
{
public:
GlobalService(Module *m) : Service<Base>(m, "Global") { }
/** Send out a global message to all users
* @param sender Our client which should send the global
* @param source The sender of the global
* @param message The message
*/
virtual void SendGlobal(BotInfo *sender, const Anope::string &source, const Anope::string &message) = 0;
};
static service_reference<GlobalService, Base> global("Global");
#endif // GLOBAL_H