diff options
Diffstat (limited to 'plugins-scripts/check_ircd.pl')
| -rwxr-xr-x | plugins-scripts/check_ircd.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_ircd.pl b/plugins-scripts/check_ircd.pl index 098a8e70..7a90a96b 100755 --- a/plugins-scripts/check_ircd.pl +++ b/plugins-scripts/check_ircd.pl | |||
| @@ -52,8 +52,7 @@ use strict; | |||
| 52 | use Getopt::Long; | 52 | use Getopt::Long; |
| 53 | use vars qw($opt_V $opt_h $opt_t $opt_p $opt_H $opt_w $opt_c $verbose); | 53 | use vars qw($opt_V $opt_h $opt_t $opt_p $opt_H $opt_w $opt_c $verbose); |
| 54 | use vars qw($PROGNAME); | 54 | use vars qw($PROGNAME); |
| 55 | use FindBin; | 55 | use lib utils.pm; |
| 56 | use lib "$FindBin::Bin"; | ||
| 57 | use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); | 56 | use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); |
| 58 | 57 | ||
| 59 | # ----------------------------------------------------[ Function Prototypes ]-- | 58 | # ----------------------------------------------------[ Function Prototypes ]-- |
| @@ -71,6 +70,7 @@ $ENV{BASH_ENV} = ""; | |||
| 71 | 70 | ||
| 72 | # -----------------------------------------------------------------[ Global ]-- | 71 | # -----------------------------------------------------------------[ Global ]-- |
| 73 | 72 | ||
| 73 | $PROGNAME = "check_ircd"; | ||
| 74 | my $NICK="ircd$$"; | 74 | my $NICK="ircd$$"; |
| 75 | my $USER_INFO="monitor localhost localhost : "; | 75 | my $USER_INFO="monitor localhost localhost : "; |
| 76 | 76 | ||
