]>
Commit | Line | Data |
---|---|---|
8eb15d2d | 1 | diff -burNp eggdrop1.6.19/scripts/autobotchk eggdrop1.6.19.new/scripts/autobotchk |
2 | --- eggdrop1.6.19/scripts/autobotchk 2003-04-15 19:41:57.000000000 +0200 | |
3 | +++ eggdrop1.6.19.new/scripts/autobotchk 2008-09-22 12:38:36.447797899 +0200 | |
4 | @@ -99,7 +99,7 @@ set delay 10 | |
2b5ee32c AG |
5 | set email 1 |
6 | ||
7 | # If you renamed your eggdrop binary, you should change this variable | |
8 | -set binary "eggdrop" | |
9 | +set binary "/usr/bin/eggdrop" | |
10 | ||
11 | while {[set opt [newsplit argv]] != ""} { | |
12 | switch -- $opt { | |
12f43ebf | 13 | @@ -184,16 +184,6 @@ if {[string match "*/scripts" $dir]} { |
2b5ee32c AG |
14 | |
15 | set dir [string trimright $dir /] | |
16 | ||
17 | -if {![file exists $dir/help] || ![file isdirectory $dir/help]} { | |
18 | - puts "*** ERROR: are you sure you are running from a bot directory?" | |
19 | - puts "" | |
20 | - exit | |
21 | -} elseif {![file exists $dir/$binary]} { | |
22 | - puts "*** ERROR: are you sure you are running from a bot directory?" | |
23 | - puts "" | |
24 | - exit | |
25 | -} | |
26 | - | |
12f43ebf AM |
27 | foreach config $confs { |
28 | puts -nonewline "Opening '$config' for processing ... " | |
2b5ee32c | 29 | |
12f43ebf | 30 |