summaryrefslogtreecommitdiff
path: root/include/modules/pseudoclients/chanserv.h
blob: 96d3cfdcdfb1963e6898171774444b9a8fa37034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 *
 * (C) 2011-2017 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