summaryrefslogtreecommitdiff
path: root/include/modules/chanserv/service.h
blob: 5bef9434004a7208c64e8f53c52def407ae49a94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 *
 * (C) 2011-2025 Anope Team
 * Contact us at team@anope.org
 *
 * Please read COPYING and README for further details.
 */

#pragma once

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;
};