videosite-test: Allow selective tests by using grabber names on the command line
[videosite.git] / videosite-weechat.pl
index 62c8870..8060679 100644 (file)
@@ -1,5 +1,7 @@
-#!/usr/bin/perl -w
-
+# shim to connect libvideosite to weechat
+#
+# (c) 2007-2008 by Ralf Ertzinger <ralf@camperquake.de>
+# 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);
 }