63 |
|
#include "supported.h" |
64 |
|
#include "watch.h" |
65 |
|
|
66 |
– |
/* Try and find the correct name to use with getrlimit() for setting the max. |
67 |
– |
* number of files allowed to be open by this process. |
68 |
– |
*/ |
66 |
|
|
67 |
|
/* /quote set variables */ |
68 |
|
struct SetOptions GlobalSetOptions; |
330 |
|
add_capability("TS6", CAP_TS6, 0); |
331 |
|
add_capability("ZIP", CAP_ZIP, 0); |
332 |
|
add_capability("CLUSTER", CAP_CLUSTER, 1); |
333 |
+ |
add_capability("SVS", CAP_SVS, 1); |
334 |
|
#ifdef HALFOPS |
335 |
|
add_capability("HOPS", CAP_HOPS, 1); |
336 |
|
#endif |
601 |
|
|
602 |
|
strlcpy(me.info, ServerInfo.description, sizeof(me.info)); |
603 |
|
|
604 |
< |
me.from = &me; |
605 |
< |
me.servptr = &me; |
606 |
< |
me.lasttime = me.since = me.firsttime = CurrentTime; |
604 |
> |
me.from = &me; |
605 |
> |
me.servptr = &me; |
606 |
> |
me.localClient->lasttime = CurrentTime; |
607 |
> |
me.localClient->since = CurrentTime; |
608 |
> |
me.localClient->firsttime = CurrentTime; |
609 |
|
|
610 |
|
SetMe(&me); |
611 |
|
make_server(&me); |