diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-10-17 11:50:21 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-10-17 11:50:21 +0200 |
commit | 30dfd2e7019b9727ca761440b1ec4fe511a1143a (patch) | |
tree | 4585d38742a0202bc5f1973dab63c158369c54c3 /svdrp.c | |
parent | eb18d4a5b0748c3b5d8408fe025eeff332fd64e7 (diff) | |
download | vdr-30dfd2e7019b9727ca761440b1ec4fe511a1143a.tar.gz vdr-30dfd2e7019b9727ca761440b1ec4fe511a1143a.tar.bz2 |
Now only saving channels.conf after a modification made by the user
Diffstat (limited to 'svdrp.c')
-rw-r--r-- | svdrp.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -10,7 +10,7 @@ * and interact with the Video Disk Recorder - or write a full featured * graphical interface that sits on top of an SVDRP connection. * - * $Id: svdrp.c 1.63 2004/06/13 13:38:38 kls Exp $ + * $Id: svdrp.c 1.64 2004/10/17 10:28:47 kls Exp $ */ #include "svdrp.h" @@ -484,7 +484,7 @@ void cSVDRP::CmdDELC(const char *Option) } Channels.Del(channel); Channels.ReNumber(); - Channels.SetModified(); + Channels.SetModified(true); isyslog("channel %s deleted", Option); Reply(250, "Channel \"%s\" deleted", Option); } @@ -876,7 +876,7 @@ void cSVDRP::CmdMODC(const char *Option) if (Channels.HasUniqueChannelID(&ch, channel)) { *channel = ch; Channels.ReNumber(); - Channels.SetModified(); + Channels.SetModified(true); isyslog("modifed channel %d %s", channel->Number(), channel->ToText()); Reply(250, "%d %s", channel->Number(), channel->ToText()); } @@ -951,7 +951,7 @@ void cSVDRP::CmdNEWC(const char *Option) *channel = ch; Channels.Add(channel); Channels.ReNumber(); - Channels.SetModified(); + Channels.SetModified(true); isyslog("new channel %d %s", channel->Number(), channel->ToText()); Reply(250, "%d %s", channel->Number(), channel->ToText()); } |