X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=videosite.git;a=blobdiff_plain;f=videosite-weechat.pl;h=806067965397ceb5b4a9612a8b8d01f391a5d03d;hp=62c887051074231e83816d06f56cfd8a3ec860dc;hb=11683399d861aa6bac9b0d7bf1c754de4302fece;hpb=b0b6b32a8fb9229a1bb26ccb8f5cd382dcc11166 diff --git a/videosite-weechat.pl b/videosite-weechat.pl index 62c8870..8060679 100644 --- a/videosite-weechat.pl +++ b/videosite-weechat.pl @@ -1,5 +1,7 @@ -#!/usr/bin/perl -w - +# shim to connect libvideosite to weechat +# +# (c) 2007-2008 by Ralf Ertzinger +# licensed under GNU GPL v2 use strict; use File::Spec; use Module::Load; @@ -65,9 +67,6 @@ sub config_del { sub colorpair { my ($fg, $bg) = @_; - $fg = defined($fg)?$fg:'default'; - $bg = defined($bg)?$bg:'default'; - return weechat::color($fg . ",", $bg); }