include config location in save message
[videosite.git] / 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);
     }
 }