diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-10-05 16:31:06 +0200 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-10-05 16:31:06 +0200 |
commit | e910cb33e1d1c6d60c08379ca3c41fa0d615cc0c (patch) | |
tree | de185e3a034962595bbe6feff44ce0bfdc654a76 /participate.rb | |
parent | e1d34d564d703e8a67e634131252035199788a78 (diff) |
added feature to modify name after participating
Diffstat (limited to 'participate.rb')
-rwxr-xr-x | participate.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/participate.rb b/participate.rb index 8acd9f1..77f11ba 100755 --- a/participate.rb +++ b/participate.rb @@ -33,6 +33,10 @@ load "charset.rb" load "config.rb" Dir.chdir(olddir) +if $cgi.include?("edituser") + $edituser = $cgi["edituser"] +end + if $cgi.include?("revision") REVISION=$cgi["revision"].to_i table = YAML::load(VCS.cat(REVISION, "data.yaml")) |