summaryrefslogtreecommitdiff
path: root/src/sessions.c
diff options
context:
space:
mode:
authordane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-08-01 02:47:29 +0000
committerdane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-08-01 02:47:29 +0000
commit3422f4a798f9fdd3b0c1efaeffdbdb8a7e495fdb (patch)
tree11159138cfd8b6b74dd29751e4c1d5b426ba1353 /src/sessions.c
parenta090c812cf88617ad825485791f7f38764db6ae8 (diff)
BUILD : 1.7.4 (295) BUGS : none NOTES : Rolling back previous commit.
git-svn-id: svn://svn.anope.org/anope/trunk@295 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@184 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/sessions.c')
-rw-r--r--src/sessions.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/sessions.c b/src/sessions.c
index 192ba3ea9..1620a2e15 100644
--- a/src/sessions.c
+++ b/src/sessions.c
@@ -461,6 +461,25 @@ void save_exceptions()
#undef SAFE
/*************************************************************************/
+
+void save_rdb_exceptions()
+{
+#ifdef USE_RDB
+ int i;
+ Exception *e;
+
+ if (!rdb_open())
+ return;
+ rdb_clear_table("anope_os_exceptions");
+ for (i = 0; i < nexceptions; i++) {
+ e = &exceptions[i];
+ rdb_save_exceptions(e);
+ }
+ rdb_close();
+#endif
+}
+
+/*************************************************************************/
/************************ Exception Manipulation *************************/
/*************************************************************************/