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);
}
}