mirror of https://github.com/dirtbags/moth.git
Fix a few bugs
This commit is contained in:
parent
7e3a194d48
commit
034506339d
|
@ -11,11 +11,7 @@ NMT
|
|||
* all packages ought to work standalone
|
||||
* scoreboard: 8 points (1,1,3,3) looks incorrectly proportioned, maybe
|
||||
table height competing with cell height?
|
||||
* sequence 300; puzzler isn't taking the unicode character right
|
||||
* mcp/ngircd.conf: add "OperCanUseMode = yes" to Global section
|
||||
* scoreboard: if a team doesn't exist it's still giving them a name
|
||||
* forf manual: describe comments
|
||||
* key.png (8x12): .tnih a ton si siht
|
||||
* We need some programs so that we never have to edit .db files
|
||||
directly. I truncated tokens.db with > instead of >>.
|
||||
|
||||
|
@ -26,3 +22,7 @@ Physical
|
|||
* We should buy a longer VGA cable
|
||||
* Tape!
|
||||
|
||||
|
||||
Possibly fixed
|
||||
--------------
|
||||
* sequence 300; puzzler isn't taking the unicode character right
|
||||
|
|
|
@ -40,7 +40,7 @@ EOF
|
|||
fi
|
||||
|
||||
cat <<EOF
|
||||
<form action="/puzzler.cgi" method="post">
|
||||
<form action="/puzzler.cgi" method="post" accept-charset="utf-8">
|
||||
<input type="hidden" name="c" value="$cat">
|
||||
<input type="hidden" name="p" value="$points">
|
||||
Team:<input name="t" size="8">
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
.tnih a si sihT
|
|
@ -105,14 +105,14 @@ BEGIN {
|
|||
# Busybox awk segfaults if you try to close a file that didn't
|
||||
# exist. We work around it by calling cat.
|
||||
cmd = sprintf("cat %s/teams/colors/%s", base, team)
|
||||
color = "444444";
|
||||
cmd | getline color
|
||||
if (! color) color = "cccccc";
|
||||
colors_by_team[team] = color
|
||||
close(cmd)
|
||||
|
||||
cmd = sprintf("cat %s/teams/names/%s", base, team)
|
||||
name = "Phantoms"
|
||||
cmd | getline name
|
||||
if (! name) name = "Avengers"
|
||||
names_by_team[team] = name
|
||||
close(cmd)
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[Global]
|
||||
Name = irc.ctf
|
||||
Info = CTF IRC
|
||||
OperCanUseMode = yes
|
||||
|
||||
[Operator]
|
||||
Name = oper
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
┤
|
||||
┤
|
||||
|
|
Loading…
Reference in New Issue