aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/lua/replies.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/lua/replies.lua b/src/plugins/lua/replies.lua
index cb34d4fa7..b5c7c6ada 100644
--- a/src/plugins/lua/replies.lua
+++ b/src/plugins/lua/replies.lua
@@ -86,7 +86,8 @@ local function replies_set(task)
end
end
-- If sender is unauthenticated return
- if task:get_user() == nil then
+ local ip = task:get_ip()
+ if task:get_user() == nil and not (ip and ip:is_local()) then
return
end
-- If no message-id present return