|
|
@@ -12,9 +12,6 @@
|
|
|
#define DO_LOST 1
|
|
|
#define NO_LOST 0
|
|
|
|
|
|
-#define check_bind_ctcp(a,b,c,d,e,f) check_bind_ctcpr(a,b,c,d,e,f,BT_ctcp)
|
|
|
-#define check_bind_ctcr(a,b,c,d,e,f) check_bind_ctcpr(a,b,c,d,e,f,BT_ctcr)
|
|
|
-
|
|
|
#define fixcolon(x) do { \
|
|
|
if ((x)[0] == ':') \
|
|
|
(x)++; \
|
|
|
@@ -47,6 +44,7 @@ enum {
|
|
|
void nuke_server(char *);
|
|
|
int match_my_nick(char *);
|
|
|
|
|
|
+extern bind_table_t *BT_ctcp, *BT_ctcr;
|
|
|
extern int serv, servidx, cycle_time, default_port, newserverport,
|
|
|
nick_len, checked_hostmask, ctcp_mode, quiet_reject,
|
|
|
flud_thr, flud_time, flud_ctcp_thr, flud_ctcp_time,
|
|
|
@@ -56,7 +54,12 @@ extern char cursrvname[], botrealname[], botuserhost[], ctcp_reply[],
|
|
|
newserver[], newserverpass[];
|
|
|
|
|
|
int check_bind_ctcpr(char *, char *, struct userrec *, char *, char *, char *, bind_table_t *);
|
|
|
+
|
|
|
+#define check_bind_ctcp(a, b, c, d, e, f) check_bind_ctcpr(a, b, c, d, e, f, BT_ctcp)
|
|
|
+#define check_bind_ctcr(a, b, c, d, e, f) check_bind_ctcpr(a, b, c, d, e, f, BT_ctcr)
|
|
|
+
|
|
|
int detect_avalanche(char *);
|
|
|
void server_report(int, int);
|
|
|
+void server_init();
|
|
|
|
|
|
#endif /*leaf*/
|