From 5196dba931f62d59d90f49120b67dd2fd49de02b Mon Sep 17 00:00:00 2001 From: Jakub Narebski Date: Tue, 28 Oct 2008 23:54:30 +0100 Subject: [PATCH] Move code around (prelude to larger change) Signed-off-by: Jakub Narebski --- SoftSnow_filter.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/SoftSnow_filter.pl b/SoftSnow_filter.pl index 33b56fe..8b139a2 100755 --- a/SoftSnow_filter.pl +++ b/SoftSnow_filter.pl @@ -3,9 +3,6 @@ use strict; use warnings; -### config ### -my $filter_file = Xchat::get_info("xchatdir") . "/SoftSnow_filter.conf"; -### end config ### my $scriptName = "SoftSnow XChat2 Filter"; my $scriptVersion = "2.0.1"; @@ -45,9 +42,13 @@ Xchat::hook_server("PRIVMSG", \&privmsg_handler); Xchat::print("Loading ${B}$scriptName $scriptVersion${B}\n". " For help: ${B}/FILTER HELP${B}\n"); +### config ### +my $filter_file = Xchat::get_info("xchatdir") . "/SoftSnow_filter.conf"; + my $filter_turned_on = 0; # was default turned ON my $limit_to_server = ''; # don't limit to server (host) my $use_filter_allow = 0; # use overrides +### end config ### # information about (default) options used if ($filter_turned_on) { -- 2.11.4.GIT