Mercurial Hosting > luan
comparison http/src/luan/modules/http/shell.luan @ 495:598123096772
rename service() to respond()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 15 May 2015 18:10:14 -0600 |
parents | 2b9bc97f0439 |
children | 55f9f74f1e55 |
comparison
equal
deleted
inserted
replaced
494:2b9bc97f0439 | 495:598123096772 |
---|---|
11 per_session = true | 11 per_session = true |
12 | 12 |
13 local history = {} | 13 local history = {} |
14 env = {} | 14 env = {} |
15 | 15 |
16 function service() | 16 function respond() |
17 if Http.request.parameters.clear ~= nil then | 17 if Http.request.parameters.clear ~= nil then |
18 history = {} | 18 history = {} |
19 else | 19 else |
20 local cmd = Http.request.parameters.cmd | 20 local cmd = Http.request.parameters.cmd |
21 if cmd ~= nil then | 21 if cmd ~= nil then |