#include "hash.h"
#include "parse.h"
#include "modules.h"
-#include "s_log.h"
+#include "logger.h"
#include "reject.h"
static int mo_gline(struct Client *, struct Client *, int, const char **);
aconf->passwd = rb_strdup(buffer);
aconf->user = rb_strdup(user);
aconf->host = rb_strdup(host);
- aconf->hold = CurrentTime + ConfigFileEntry.gline_time;
+ aconf->hold = rb_current_time() + ConfigFileEntry.gline_time;
add_gline(aconf);
sendto_realops_snomask(SNO_GENERAL, L_ALL,
sizeof(pending->oper_host2));
pending->reason2 = rb_strdup(reason);
pending->oper_server2 = scache_get_name(source_p->servptr->serv->nameinfo);
- pending->last_gline_time = CurrentTime;
- pending->time_request2 = CurrentTime;
+ pending->last_gline_time = rb_current_time();
+ pending->time_request2 = rb_current_time();
return NO;
}
}
pending->reason1 = rb_strdup(reason);
pending->reason2 = NULL;
- pending->last_gline_time = CurrentTime;
- pending->time_request1 = CurrentTime;
+ pending->last_gline_time = rb_current_time();
+ pending->time_request1 = rb_current_time();
rb_dlinkAddAlloc(pending, &pending_glines);
{
struct ConfItem *aconf;
rb_dlink_node *ptr;
- struct irc_sockaddr_storage addr, caddr;
+ struct rb_sockaddr_storage addr, caddr;
int bits, cbits;
int mtype, gtype;