diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-03-27 20:10:03 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-03-27 20:10:03 +0000 |
commit | ff07415a3b827737a6be30d3d36ef123363556e1 (patch) | |
tree | 7ce3e61c1d05dfab61c88d58b7cc6a5a5344ac31 /src/lua/lua_mempool.c | |
parent | 24f85d1c0620e256178651633850e49b58dec601 (diff) | |
download | rspamd-ff07415a3b827737a6be30d3d36ef123363556e1.tar.gz rspamd-ff07415a3b827737a6be30d3d36ef123363556e1.zip |
[Minor] Ratelimit: Fix formatting issue
Diffstat (limited to 'src/lua/lua_mempool.c')
-rw-r--r-- | src/lua/lua_mempool.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lua/lua_mempool.c b/src/lua/lua_mempool.c index 396f39170..5f1fe46b3 100644 --- a/src/lua/lua_mempool.c +++ b/src/lua/lua_mempool.c @@ -524,8 +524,10 @@ lua_mempool_get_variable (lua_State *L) return nvar; } - - lua_pushstring (L, value); + else { + /* No type specified, return string */ + lua_pushstring(L, value); + } } else { lua_pushnil (L); |