From: David ‘Bombe’ Roden Date: Tue, 15 Oct 2013 05:01:26 +0000 (+0200) Subject: Expose the database. X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=988278af8e7c86e06247adbffe91e64e977aca0e Expose the database. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index e755414..b035d58 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -291,6 +291,10 @@ public class Core extends AbstractService implements SoneProvider, PostProvider, this.fcpInterface = fcpInterface; } + public Database getDatabase() { + return database; + } + /** * Returns the Sone rescuer for the given local Sone. *