author | Mikael Berthe <mikael@lilotux.net> |
Sun, 25 Nov 2012 19:29:32 +0100 | |
changeset 65 | 2cefbe9f3ac6 |
parent 64 | 62248d5fbb24 |
child 66 | d9c00a9fe9d5 |
--- a/mcbot/cmds/shortenurl.lua Sun Nov 25 19:01:31 2012 +0100 +++ b/mcbot/cmds/shortenurl.lua Sun Nov 25 19:29:32 2012 +0100 @@ -42,7 +42,7 @@ if data then local reply = json.decode ( data ) if ( type ( reply ) == 'table' ) and reply.id then - return ('Full: %s\nShort: %s'):format(url, reply.id) + return ('Full: %s\nShort: %s'):format(url, reply.id) else local errmsg if type ( reply ) == 'table' and ( type ( reply.error ) == 'table' ) then