diff options
| author | Adam <Adam@anope.org> | 2013-05-26 17:13:11 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-05-26 17:13:11 -0400 |
| commit | 22658d63bdb1e52a66f4514af45fa55ca5891345 (patch) | |
| tree | 673304ab19f7e077b489354248247867518331f8 /modules/database/db_plain.cpp | |
| parent | f2dee1e1d642b07947f59f91dfba9af34ef84685 (diff) | |
Get rid of the remaining references in the core to specific services. Move more stuff out of the core to the proper modules.
Diffstat (limited to 'modules/database/db_plain.cpp')
| -rw-r--r-- | modules/database/db_plain.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/database/db_plain.cpp b/modules/database/db_plain.cpp index fe95e06bb..a2c8d4274 100644 --- a/modules/database/db_plain.cpp +++ b/modules/database/db_plain.cpp @@ -8,8 +8,6 @@ * Based on the original code of Services by Andy Church. */ -/*************************************************************************/ - #include "module.h" #include "modules/os_session.h" @@ -654,7 +652,7 @@ class DBPlain : public Module } - EventReturn OnSaveDatabase() anope_override + void OnSaveDatabase() anope_override { BackupDatabase(); @@ -868,15 +866,13 @@ class DBPlain : public Module if (!db.is_open()) { IRCD->SendGlobops(NULL, "Unable to open %s for writing!", DatabaseFile.c_str()); - return EVENT_CONTINUE; + return; } db << db_buffer.str(); db_buffer.str(""); db.close(); - - return EVENT_CONTINUE; } }; |
