summaryrefslogtreecommitdiff
path: root/scripts/makeyhttpd.pl
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:42 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:42 +0200
commit3e382f0c9435cbf72570a87640652ad1551c7cfd (patch)
tree05a22f5c99a808756cc017dc190711ca46c84ac7 /scripts/makeyhttpd.pl
parent658bfd183905576ed5f4dbe57a2ee82711b6ac93 (diff)
tagging ychat-0.7.9.1ychat-0.7.9.1
Diffstat (limited to 'scripts/makeyhttpd.pl')
-rw-r--r--scripts/makeyhttpd.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/makeyhttpd.pl b/scripts/makeyhttpd.pl
index 6adcc96..7dd0345 100644
--- a/scripts/makeyhttpd.pl
+++ b/scripts/makeyhttpd.pl
@@ -40,6 +40,7 @@ my %substituate = (
'yChat' => 'yhttpd',
'YCHAT' => 'YHTTPD',
'CHAT' => 'HTTPD',
+ 'yhttpd.org' => 'yChat.org',
'//>>' => ''
);
@@ -156,7 +157,7 @@ sub remove_marked_lines {
sub edit_yhttpd_conf
{
my @old = fopen("etc/yhttpd.conf");
- my @new = shift @old;
+ my @new = @old[0..1];
my $flag = 0;
for (@old)