aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/events/subscription
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/events/subscription')
-rw-r--r--src/main/kotlin/events/subscription/SubscriptionList.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/kotlin/events/subscription/SubscriptionList.kt b/src/main/kotlin/events/subscription/SubscriptionList.kt
index e74a65a..817efc3 100644
--- a/src/main/kotlin/events/subscription/SubscriptionList.kt
+++ b/src/main/kotlin/events/subscription/SubscriptionList.kt
@@ -21,5 +21,8 @@ interface SubscriptionList {
}
.toList()
}
+ init {
+ require(allLists.isNotEmpty())
+ }
}
}