From ef2f33448cc1e8b52bd4f7cc639ebe1eaed184f7 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/blootbot@374 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/Files.pl | 2 +- src/core.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Files.pl b/src/Files.pl index bfe79ba..a75b1dd 100644 --- a/src/Files.pl +++ b/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/src/core.pl b/src/core.pl index 2b8b36e..dbe2e32 100644 --- a/src/core.pl +++ b/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