From 401f7452863e89102529747ee26f904ad41e7498 Mon Sep 17 00:00:00 2001 From: dms Date: Fri, 9 Feb 2001 14:48:15 +0000 Subject: [PATCH] use static value for ircservers file git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@374 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Files.pl | 2 +- blootbot/src/core.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blootbot/src/Files.pl b/blootbot/src/Files.pl index bfe79ba..a75b1dd 100644 --- a/blootbot/src/Files.pl +++ b/blootbot/src/Files.pl @@ -49,7 +49,7 @@ sub loadLang { # File: Irc Servers list. sub loadIRCServers { - my ($file) = @_; + my ($file) = $bot_misc_dir."/ircII.servers"; @ircServers = (); %ircPort = (); diff --git a/blootbot/src/core.pl b/blootbot/src/core.pl index 2b8b36e..dbe2e32 100644 --- a/blootbot/src/core.pl +++ b/blootbot/src/core.pl @@ -280,7 +280,7 @@ sub setup { # read. &loadLang($bot_misc_dir. "/blootbot.lang"); - &loadIRCServers($bot_misc_dir. "/ircII.servers"); + &loadIRCServers(); &readUserFile(); &readChanFile(); &loadMyModulesNow(); # must be after chan file. -- 2.39.5