#include "newconf.h"
#include "hash.h"
#include "irc_dictionary.h"
+#include "s_assert.h"
+#include "logger.h"
rb_dlink_list shared_conf_list;
rb_dlink_list cluster_conf_list;
}
int
-find_shared_conf(const char *username, const char *host,
+find_shared_conf(const char *username, const char *host,
const char *server, int flags)
{
struct remote_conf *shared_p;
"ENCAP %s %s %s",
target, command, buffer);
}
-
+
void
cluster_generic(struct Client *source_p, const char *command,
int cltype, int cap, const char *format, ...)
rb_free(oper_p->username);
rb_free(oper_p->host);
rb_free(oper_p->name);
+ rb_free(oper_p->certfp);
if(oper_p->passwd)
{
return(result * 60);
}
+/* Propagated bans are expired elsewhere. */
static void
expire_temp_rxlines(void *unused)
{
{
aconf = ptr->data;
+ if(aconf->lifetime != 0)
+ continue;
if(aconf->hold && aconf->hold <= rb_current_time())
{
if(ConfigFileEntry.tkline_expire_notices)
{
aconf = ptr->data;
+ if(aconf->lifetime != 0)
+ continue;
if(aconf->hold && aconf->hold <= rb_current_time())
{
if(ConfigFileEntry.tkline_expire_notices)
{
aconf = ptr->data;
+ if(aconf->lifetime != 0)
+ continue;
if(aconf->hold && aconf->hold <= rb_current_time())
{
if(ConfigFileEntry.tkline_expire_notices)
return;
nd = rb_bh_alloc(nd_heap);
-
+
rb_strlcpy(nd->name, name, sizeof(nd->name));
nd->expire = rb_current_time() + ConfigFileEntry.nick_delay;