Expose the database.
[Sone.git] / src / main / java / net / pterodactylus / sone / core / Core.java
index e755414..b035d58 100644 (file)
@@ -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.
         *