fix configuration files
authorChristian Garbs <mitch@cgarbs.de>
Sun, 28 Dec 2008 12:56:39 +0000 (13:56 +0100)
committerRalf Ertzinger <sun@lain.camperquake.de>
Sun, 28 Dec 2008 21:24:05 +0000 (22:24 +0100)
xmlrtorrent.pl

index 460d9b3..1ba5842 100644 (file)
@@ -321,13 +321,13 @@ sub cmd_talker {
         foreach $p (@talkers) {
             if (($p->{'NAME'} eq $target) && ($p->{'TYPE'} eq 'talker')) {
                 $talker = $p;
-                $conf->{'videosite'}->{'talker'} = $target;
+                $conf->{'xmlrtorrent'}->{'talker'} = $target;
                 return;
             }
         }
         write_irssi('No such talker');
     } else {
-        write_irssi('Current talker: %s', $conf->{'videosite'}->{'talker'});
+        write_irssi('Current talker: %s', $conf->{'xmlrtorrent'}->{'talker'});
     }
 }
 
@@ -429,7 +429,7 @@ sub init_xmlrtorrent {
         }
     }
     write_debug('Selected %s as talker', $talker->{'NAME'});
-    $conf->{'videosite'}->{'talker'} = $talker->{'NAME'};
+    $conf->{'xmlrtorrent'}->{'talker'} = $talker->{'NAME'};
 
 
     # Restore the queue