]> git.donarmstrong.com Git - infobot.git/commitdiff
use static value for ircservers file
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 9 Feb 2001 14:48:15 +0000 (14:48 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 9 Feb 2001 14:48:15 +0000 (14:48 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@374 c11ca15a-4712-0410-83d8-924469b57eb5

blootbot/src/Files.pl
blootbot/src/core.pl

index bfe79baba3768070397fc3b0b019fa56e16e3e75..a75b1dd4100b9a4834a110f92408f706dfcbadaa 100644 (file)
@@ -49,7 +49,7 @@ sub loadLang {
 
 # File: Irc Servers list.
 sub loadIRCServers {
-    my ($file) = @_;
+    my ($file) = $bot_misc_dir."/ircII.servers";
     @ircServers = ();
     %ircPort = ();
 
index 2b8b36e5eeb1ca9cf6dd428551999ae3941b6199..dbe2e32f09f48f0154758b9c68bf096aa22669e0 100644 (file)
@@ -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.