]>
Commit | Line | Data |
---|---|---|
9958fec9 CP |
1 | #include "../chanserv/chanserv.h" |
2 | ||
3 | static nick *fakeq; | |
4 | ||
5 | void chanservuserhandler(nick *target, int message, void **params); | |
6 | ||
7 | void _init(void) { | |
8 | fakeq=registerlocaluser("Q","TheQBot","CServe.quakenet.org", | |
9 | "The Q Bot","Q", | |
10 | UMODE_INV|UMODE_SERVICE|UMODE_DEAF|UMODE_OPER|UMODE_ACCOUNT, | |
11 | &chanservuserhandler); | |
12 | } | |
13 | ||
14 | void _fini(void) { | |
15 | if(fakeq) | |
16 | deregisterlocaluser(fakeq, "Leaving"); | |
17 | } |