diff options
| author | Adam <Adam@anope.org> | 2016-11-11 09:28:49 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2016-11-11 09:29:45 -0500 |
| commit | 90e9dbca82fe1db77616ba669e2aa96c0b47ca54 (patch) | |
| tree | 612c0677a9278072ae163c9631187855bd91b1f5 /include | |
| parent | be17c8118762c7c928239a026359e4fa0fd36f00 (diff) | |
Remove database save and related commands/config
Diffstat (limited to 'include')
| -rw-r--r-- | include/anope.h | 4 | ||||
| -rw-r--r-- | include/event.h | 11 |
2 files changed, 0 insertions, 15 deletions
diff --git a/include/anope.h b/include/anope.h index dbaebd573..192ad271c 100644 --- a/include/anope.h +++ b/include/anope.h @@ -434,10 +434,6 @@ namespace Anope */ extern void Init(int ac, char **av); - /** Calls the save database event - */ - extern CoreExport void SaveDatabases(); - /** Check whether two strings match. * @param str The string to check against the pattern (e.g. foobar) * @param mask The pattern to check (e.g. foo*bar) diff --git a/include/event.h b/include/event.h index b71eef738..fcc292aea 100644 --- a/include/event.h +++ b/include/event.h @@ -292,17 +292,6 @@ namespace Event virtual void OnPostCommand(CommandSource &source, Command *command, const std::vector<Anope::string> ¶ms) anope_abstract; }; - struct CoreExport SaveDatabase : Events - { - static constexpr const char *NAME = "savedatabase"; - - using Events::Events; - - /** Called when the databases are saved - */ - virtual void OnSaveDatabase() anope_abstract; - }; - struct CoreExport LoadDatabase : Events { static constexpr const char *NAME = "loaddatabase"; |
