#include "numeric.h"
#include "s_conf.h"
#include "s_newconf.h"
-#include "s_log.h"
+#include "logger.h"
#include "send.h"
#include "hash.h"
#include "s_serv.h"
const char *dlhost;
char *oper_reason;
char *reason = def;
- struct irc_sockaddr_storage daddr;
+ struct rb_sockaddr_storage daddr;
char cidr_form_host[HOSTLEN + 1];
struct ConfItem *aconf;
int bits;
const char *creason;
int t = AF_INET, ty, b;
ty = parse_netmask(dlhost, (struct sockaddr *)&daddr, &b);
-#ifdef IPV6
+#ifdef RB_IPV6
if(ty == HM_IPV6)
t = AF_INET6;
else
}
}
- set_time();
+ rb_set_time();
current_date = smalldate();
aconf = make_conf();