diff --git a/server/connectionVTP.c b/server/connectionVTP.c index e390f74..dc6bf58 100644 --- a/server/connectionVTP.c +++ b/server/connectionVTP.c @@ -2033,7 +2033,7 @@ bool cConnectionVTP::CmdDELR(const char *Option) if (recording->Delete()) { Reply(250, "Recording \"%s\" deleted", Option); #if APIVERSNUM >= 20300 - Recordings->DelByName(recording->FileName()); + Recordings->Del(recording); #else ::Recordings.DelByName(recording->FileName()); #endif