Anope IRC Services  Version 2.0
chanserv.h
Go to the documentation of this file.
1 #ifndef CHANSERV_H
2 #define CHANSERV_H
3 
4 class ChanServService : public Service
5 {
6  public:
7  ChanServService(Module *m) : Service(m, "ChanServService", "ChanServ")
8  {
9  }
10 
11  /* Have ChanServ hold the channel, that is, join and set +nsti and wait
12  * for a few minutes so no one can join or rejoin.
13  */
14  virtual void Hold(Channel *c) = 0;
15 };
16 
17 #endif // CHANSERV_H
18 
ChanServService(Module *m)
Definition: chanserv.h:7
virtual void Hold(Channel *c)=0