diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-02 23:50:53 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-02 23:50:53 +0000 |
commit | ec9dafb778cae465379f64bf0a0f997dbb4603ab (patch) | |
tree | 2a908a3c4bcd4f1fa7e137766ff1349909b13f1c /src/sessions.c | |
parent | 232d1b5e88c62ef3e2dae4a03353da817a3b89dc (diff) |
Rip out SQL. It's utterly useless in current implementation.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1502 5417fbe8-f217-4b02-8779-1006273d7864
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 *************************/ /*************************************************************************/ |