Mercurial Hosting > luan
diff http/src/luan/modules/http/shell.luan @ 497:55f9f74f1e55
Http.request is now pure luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 17 May 2015 19:25:47 -0600 |
parents | 598123096772 |
children | 92c3d22745b8 |
line wrap: on
line diff
--- a/http/src/luan/modules/http/shell.luan Sat May 16 20:19:05 2015 -0600 +++ b/http/src/luan/modules/http/shell.luan Sun May 17 19:25:47 2015 -0600 @@ -14,10 +14,10 @@ env = {} function respond() - if Http.request.parameters.clear ~= nil then + if Http.request.parameter.clear ~= nil then history = {} else - local cmd = Http.request.parameters.cmd + local cmd = Http.request.parameter.cmd if cmd ~= nil then Io.stdout = {} function Io.stdout.write(...)