diff --git a/src/DelugeClient.ts b/src/DelugeClient.ts index 2390ee4..d3df42c 100644 --- a/src/DelugeClient.ts +++ b/src/DelugeClient.ts @@ -76,7 +76,7 @@ export class DelugeClient { } // this should never fail in theory - if (status != 'Connected') { + if (status != 'Connected' && status != 'Online') { throw new Error('Not connected to deluge'); }