]> jfr.im git - irc/quakenet/newserv.git/blob - serverlist/serverlist.h
CHANSERV: fix issue where chanserv_relay doesn't wait for db to be loaded before...
[irc/quakenet/newserv.git] / serverlist / serverlist.h
1 #ifndef __SERVER_LIST_H
2 #define __SERVER_LIST_H
3
4 #include "../server/server.h"
5 #include "../lib/flags.h"
6
7 #define SERVERTYPEFLAG_CLIENT_SERVER 0x00000001 /* +c */
8 #define SERVERTYPEFLAG_HUB 0x00000002 /* +h */
9 #define SERVERTYPEFLAG_SERVICE 0x00000004 /* +s */
10 #define SERVERTYPEFLAG_CHANSERV 0x00000008 /* +Q */
11 #define SERVERTYPEFLAG_SPAMSCAN 0x00000010 /* +S */
12 #define SERVERTYPEFLAG_CRITICAL_SERVICE 0x00000020 /* +X */
13
14 #define SERVERTYPEFLAG_USER_STATE SERVERTYPEFLAG_CLIENT_SERVER|SERVERTYPEFLAG_HUB|SERVERTYPEFLAG_CRITICAL_SERVICE
15
16 extern const flag servertypeflags[];
17 flag_t getservertype(server *server);
18
19 #endif