diff --git a/lib/index.js b/lib/index.js index 550f3ca..3b8e72d 100644 --- a/lib/index.js +++ b/lib/index.js @@ -67,7 +67,7 @@ function fromSubdomain(subdomain) { * @returns {asserts peer is { db: PPPPPDB, close: ClosableHook }} */ function assertDBPlugin(peer) { - if (!peer.db) throw new Error('dict plugin requires ppppp-db plugin') + if (!peer.db) throw new Error('"dict" plugin requires "db" plugin') } /**