mirror of
https://github.com/anope/anope.git
synced 2026-06-25 02:26:38 +02:00
f118960a25
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
Added missing copyright headers to files that didn't have it yet.
Fixed some whitespace and blank lines along the way.
28 lines
595 B
C++
28 lines
595 B
C++
/*
|
|
*
|
|
* (C) 2011-2016 Anope Team
|
|
* Contact us at team@anope.org
|
|
*
|
|
* Please read COPYING and README for further details.
|
|
*/
|
|
|
|
#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
|