From: dms Date: Fri, 9 Feb 2001 14:48:15 +0000 (+0000) Subject: use static value for ircservers file X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=401f7452863e89102529747ee26f904ad41e7498;p=infobot.git use static value for ircservers file git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@374 c11ca15a-4712-0410-83d8-924469b57eb5 --- 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.