aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_task.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-21 17:52:54 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-21 17:52:54 +0300
commit370b3ddd1e20e58119e9618acdfde10a5e5c409a (patch)
treef7ae26616e938f2b32d5b6e7f9d1ce01fb76086c /src/lua/lua_task.c
parentd4ddd7be3fb96efe6607fccf18cbf5dba0da6bda (diff)
downloadrspamd-370b3ddd1e20e58119e9618acdfde10a5e5c409a.tar.gz
rspamd-370b3ddd1e20e58119e9618acdfde10a5e5c409a.zip
Skip group addresses.0.4.5
Diffstat (limited to 'src/lua/lua_task.c')
-rw-r--r--src/lua/lua_task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index 8464a6c2f..478039149 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -729,7 +729,7 @@ lua_push_internet_address (lua_State *L, InternetAddress *ia)
return FALSE;
#else
InternetAddressMailbox *iamb;
- if (ia) {
+ if (ia && INTERNET_ADDRESS_IS_MAILBOX (ia)) {
lua_newtable (L);
iamb = INTERNET_ADDRESS_MAILBOX (ia);
lua_set_table_index (L, "name", internet_address_get_name (ia));