summaryrefslogtreecommitdiff
path: root/src/irc/core/bans.h
blob: aa6ff3462b332b9d3774428b79b7c54adcee7f23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __BANS_H
#define __BANS_H

#include "channels.h"

void bans_init(void);
void bans_deinit(void);

char *ban_get_mask(CHANNEL_REC *channel, const char *nick);

void ban_set_type(const char *type);
void ban_set(CHANNEL_REC *channel, const char *bans);
void ban_remove(CHANNEL_REC *channel, const char *ban);

#endif