anope

- supernets anope source code & configuration
git clone git://git.acid.vegas/anope.git
Log | Files | Refs | Archive | README

chanserv.h (488B)

      1 /*
      2  *
      3  * (C) 2011-2022 Anope Team
      4  * Contact us at team@anope.org
      5  *
      6  * Please read COPYING and README for further details.
      7  */
      8 
      9 #ifndef CHANSERV_H
     10 #define CHANSERV_H
     11 
     12 class ChanServService : public Service
     13 {
     14  public:
     15 	ChanServService(Module *m) : Service(m, "ChanServService", "ChanServ")
     16 	{
     17 	}
     18 
     19 	/* Have ChanServ hold the channel, that is, join and set +nsti and wait
     20 	 * for a few minutes so no one can join or rejoin.
     21 	 */
     22 	virtual void Hold(Channel *c) = 0;
     23 };
     24 
     25 #endif // CHANSERV_H