diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-14 15:23:22 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-14 15:23:22 +0100 |
commit | f65d950bd154d44e1705a17d13ec3012a5d0d2c3 (patch) | |
tree | f1b26ffcf24cf03094700a9533cda3d862df9655 /src/lua/lua_redis.c | |
parent | ca693018d679473fc83cae8ca09a806741fe8afe (diff) | |
download | rspamd-f65d950bd154d44e1705a17d13ec3012a5d0d2c3.tar.gz rspamd-f65d950bd154d44e1705a17d13ec3012a5d0d2c3.zip |
Minor fixes in lua.
Diffstat (limited to 'src/lua/lua_redis.c')
-rw-r--r-- | src/lua/lua_redis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_redis.c b/src/lua/lua_redis.c index 4f304643f..89468d519 100644 --- a/src/lua/lua_redis.c +++ b/src/lua/lua_redis.c @@ -148,7 +148,7 @@ lua_redis_push_reply (lua_State *L, const redisReply *r) switch (r->type) { case REDIS_REPLY_INTEGER: - lua_pushinteger (L, r->integer); + lua_pushnumber (L, r->integer); break; case REDIS_REPLY_NIL: /* XXX: not the best approach */ |