From 33cdb8027dc8cef803d70e4f6b54d2eb4b5aca7d Mon Sep 17 00:00:00 2001 From: Julius de Jeu Date: Sat, 26 Sep 2020 23:58:26 +0200 Subject: [PATCH] So role maps should be used and stuff... --- src/main/kotlin/nl/voidcorp/ottobot/database/DAO.kt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/kotlin/nl/voidcorp/ottobot/database/DAO.kt b/src/main/kotlin/nl/voidcorp/ottobot/database/DAO.kt index 6a5cdeb..c6d5525 100644 --- a/src/main/kotlin/nl/voidcorp/ottobot/database/DAO.kt +++ b/src/main/kotlin/nl/voidcorp/ottobot/database/DAO.kt @@ -65,11 +65,7 @@ class GuildStore(id: EntityID) : LongEntity(id) { } } - val roleMap: MutableMap - get() { - - return mutableMapOf() - } + val roleMap: MutableMap = SufferMap(this) }