diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2009-05-27 09:31:38 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2009-05-27 09:31:38 +0000 |
| commit | bce60be30fe8e9c1b0eb33128c23c93d7bca5303 (patch) | |
| tree | 3927343c777fcb7764a0f2f89754a0ceab141c21 /src/tp.lua | |
| parent | d1a72435d5bd3528f3c334cd4d1da16dcead47bf (diff) | |
| download | luasocket-bce60be30fe8e9c1b0eb33128c23c93d7bca5303.tar.gz luasocket-bce60be30fe8e9c1b0eb33128c23c93d7bca5303.tar.bz2 luasocket-bce60be30fe8e9c1b0eb33128c23c93d7bca5303.zip | |
Decent makefiles!
Diffstat (limited to 'src/tp.lua')
| -rw-r--r-- | src/tp.lua | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -64,6 +64,7 @@ function metat.__index:check(ok) | |||
| 64 | end | 64 | end |
| 65 | 65 | ||
| 66 | function metat.__index:command(cmd, arg) | 66 | function metat.__index:command(cmd, arg) |
| 67 | cmd = string.upper(cmd) | ||
| 67 | if arg then | 68 | if arg then |
| 68 | return self.c:send(cmd .. " " .. arg.. "\r\n") | 69 | return self.c:send(cmd .. " " .. arg.. "\r\n") |
| 69 | else | 70 | else |
