diff options
Diffstat (limited to 'src/sessions.c')
| -rw-r--r-- | src/sessions.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/sessions.c b/src/sessions.c index b0fee9b0c..11a802d74 100644 --- a/src/sessions.c +++ b/src/sessions.c @@ -475,35 +475,6 @@ void save_exceptions() #undef SAFE /*************************************************************************/ - -void save_rdb_exceptions() -{ -#ifdef USE_RDB - int i; - Exception *e; - - if (!rdb_open()) - return; - if (rdb_tag_table("anope_os_exceptions") == 0) { - alog("Unable to tag table 'anope_os_exceptions' - Exception RDB save failed."); - return; - } - for (i = 0; i < nexceptions; i++) { - e = &exceptions[i]; - if (rdb_save_exceptions(e) == 0) { - alog("Unable to save Exception '%s' - Exception RDB save failed.", e->mask); - return; - } - } - if (rdb_clean_table("anope_os_exceptions") == 0) { - alog("Unable to clean table 'anope_os_exceptions' - Exception RDB save failed."); - return; - } - rdb_close(); -#endif -} - -/*************************************************************************/ /************************ Exception Manipulation *************************/ /*************************************************************************/ |
