include config location in save message
authorChristian Garbs <mitch@cgarbs.de>
Sat, 12 Jan 2008 22:27:56 +0000 (23:27 +0100)
committerRalf Ertzinger <sun@lain.camperquake.de>
Sat, 12 Jan 2008 23:04:51 +0000 (00:04 +0100)
videosite.pl

index c987a26..9c3b313 100644 (file)
@@ -103,9 +103,9 @@ sub cmd_save {
         close(CONF);
     };
     if ($@) {
-        write_irssi(undef, 'videosite: Could not save config: %s', $@);
+        write_irssi(undef, 'videosite: Could not save config to %s: %s', ($conffile, $@));
     } else {
-        write_irssi(undef, 'videosite: Saved config');
+        write_irssi(undef, 'Videosite configuration saved to %s', $conffile);
     }
 }