mirror of
git://git.acid.vegas/anope.git
synced 2024-11-15 04:06:42 +00:00
26 lines
488 B
C++
26 lines
488 B
C++
/*
|
|
*
|
|
* (C) 2011-2022 Anope Team
|
|
* Contact us at team@anope.org
|
|
*
|
|
* Please read COPYING and README for further details.
|
|
*/
|
|
|
|
#ifndef CHANSERV_H
|
|
#define CHANSERV_H
|
|
|
|
class ChanServService : public Service
|
|
{
|
|
public:
|
|
ChanServService(Module *m) : Service(m, "ChanServService", "ChanServ")
|
|
{
|
|
}
|
|
|
|
/* Have ChanServ hold the channel, that is, join and set +nsti and wait
|
|
* for a few minutes so no one can join or rejoin.
|
|
*/
|
|
virtual void Hold(Channel *c) = 0;
|
|
};
|
|
|
|
#endif // CHANSERV_H
|