Fix attach.

This commit is contained in:
Johns 2012-03-02 00:38:52 +01:00
parent fd0ae12f24
commit 995f1286bd
1 changed files with 1 additions and 4 deletions

View File

@ -1711,10 +1711,7 @@ cString cPluginSoftHdDevice::SVDRPCommand(const char *command,
return "SoftHdDevice is detached";
}
if (!strcasecmp(command, "ATTA")) {
if (SuspendMode) {
if (SuspendMode != SUSPEND_DETACHED) {
return "SoftHdDevice already detached";
}
if (SuspendMode != SUSPEND_DETACHED) {
return "can't attach SoftHdDevice not detached";
}
if (ShutdownHandler.GetUserInactiveTime()) {