summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-11-01 13:49:25 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-11-01 13:49:25 +0000
commitce8c0f1d6b42f2bdccc81ab5d939100bae4b1133 (patch)
tree94e39f452e21275edf28cc49f4224d26eaba6d36 /modules
parentf5bd3291ed24915d50718473d830b3c363def711 (diff)
- dbs are now periodically flushed on disc every 5 minutes
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1625 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r--modules/m_dline.c2
-rw-r--r--modules/m_gline.c2
-rw-r--r--modules/m_kline.c2
-rw-r--r--modules/m_xline.c2
4 files changed, 0 insertions, 8 deletions
diff --git a/modules/m_dline.c b/modules/m_dline.c
index b17a6fc..a4396e9 100644
--- a/modules/m_dline.c
+++ b/modules/m_dline.c
@@ -83,7 +83,6 @@ apply_dline(struct Client *source_p, struct AccessItem *aconf,
aconf->setat = CurrentTime;
add_conf_by_address(CONF_DLINE, aconf);
- save_dline_database();
rehashed_klines = 1;
}
@@ -120,7 +119,6 @@ remove_dline_match(const char *host)
if (!IsConfMain(aconf))
{
delete_one_address_conf(host, aconf);
- save_dline_database();
return 1;
}
}
diff --git a/modules/m_gline.c b/modules/m_gline.c
index 8f8835b..b748bec 100644
--- a/modules/m_gline.c
+++ b/modules/m_gline.c
@@ -81,7 +81,6 @@ set_local_gline(const struct Client *source_p, const char *user,
get_oper_name(source_p), aconf->user, aconf->host, aconf->reason);
add_conf_by_address(CONF_GLINE, aconf);
- save_gline_database();
rehashed_klines = 1;
}
@@ -116,7 +115,6 @@ remove_gline_match(const char *user, const char *host)
if ((aconf = find_conf_by_address(host, piphost, CONF_GLINE, t, user, NULL, 0)))
{
delete_one_address_conf(host, aconf);
- save_gline_database();
return 1;
}
diff --git a/modules/m_kline.c b/modules/m_kline.c
index 315c5e8..78c790a 100644
--- a/modules/m_kline.c
+++ b/modules/m_kline.c
@@ -257,7 +257,6 @@ m_kline_add_kline(struct Client *source_p, struct AccessItem *aconf,
}
add_conf_by_address(CONF_KLINE, aconf);
- save_kline_database();
rehashed_klines = 1;
}
@@ -472,7 +471,6 @@ remove_kline_match(const char *host, const char *user)
if (!IsConfMain(aconf))
{
delete_one_address_conf(host, aconf);
- save_kline_database();
return 1;
}
}
diff --git a/modules/m_xline.c b/modules/m_xline.c
index c0413a7..c97215d 100644
--- a/modules/m_xline.c
+++ b/modules/m_xline.c
@@ -375,7 +375,6 @@ write_xline(struct Client *source_p, char *gecos, char *reason,
get_oper_name(source_p), conf->name, xconf->reason);
}
- save_xline_database();
rehashed_klines = 1;
}
@@ -392,7 +391,6 @@ remove_xline(struct Client *source_p, char *gecos)
get_oper_name(source_p), gecos);
ilog(LOG_TYPE_KLINE, "%s removed X-Line for [%s]",
source_p->name, gecos);
- save_xline_database();
}
else
sendto_one(source_p, ":%s NOTICE %s :No X-Line for %s",