X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=videosite-irssi.pl;h=4d3f4817e1aa1f640b3ecb9f4d39213f58463384;hb=7480e9e58db677bad08a47364f20f3fc619fdaf2;hp=f1c9b1d4c3fb4c825d2f7fc7aa49e03228d2cd68;hpb=5d1f166b61180b15b2f80ca514625f03e35b7cce;p=videosite.git diff --git a/videosite-irssi.pl b/videosite-irssi.pl index f1c9b1d..4d3f481 100644 --- a/videosite-irssi.pl +++ b/videosite-irssi.pl @@ -172,11 +172,14 @@ sub config_set { # # Delete a configuration value. Called by the core. # +# Now, according to the configuration Irssi::settings_remove() removes a +# config settings. This does not work in any irssi version available to me. +# So just set the key to the canary value. +# sub config_del { my $path = shift; - my $item = join('.', 'videosite', @{$path}); - Irssi::settings_remove($item); + config_set($path, "\1"); } #