mirror of
https://github.com/anope/anope.git
synced 2026-06-25 10:56:37 +02:00
1e625b6837
Keep track of what user modes are oper only/server only/etc
21 lines
467 B
C++
21 lines
467 B
C++
#ifndef GLOBAL_H
|
|
#define GLOBAL_H
|
|
|
|
class GlobalService : public Service
|
|
{
|
|
public:
|
|
GlobalService(Module *m) : Service(m, "GlobalService", "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;
|
|
};
|
|
|
|
#endif // GLOBAL_H
|
|
|