diff --git a/lib/index.js b/lib/index.js index 873b17e..0722d27 100644 --- a/lib/index.js +++ b/lib/index.js @@ -71,7 +71,7 @@ function fromSubdomain(subdomain) { * @returns {asserts peer is { db: PPPPPDB, close: ClosableHook }} */ function assertDBPlugin(peer) { - if (!peer.db) throw new Error('set plugin requires ppppp-db plugin') + if (!peer.db) throw new Error('"set" plugin requires "db" plugin') } /**