From 57dc7d20b65fc3ca6f17b25e4ebfeb6693700fd0 Mon Sep 17 00:00:00 2001 From: Jeffrey Date: Thu, 10 Jan 2013 07:46:32 -0600 Subject: [PATCH] Fix for Ignore Private ignoring NPCs Ignore Private message setting was ignoring NPC chat in the NPC window. --- modules/game_console/console.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/game_console/console.lua b/modules/game_console/console.lua index 8b2985cf..7762d30c 100644 --- a/modules/game_console/console.lua +++ b/modules/game_console/console.lua @@ -612,7 +612,7 @@ function onTalk(name, level, mode, message, channelId, creaturePos) speaktype = SpeakTypes[mode] if ((mode == MessageModes.Yell and isIgnoringYelling()) or - (speaktype.private and isIgnoringPrivate()) or + (speaktype.private and isIgnoringPrivate() and mode ~= MessageModes.NpcFrom) or (isIgnored(name) or isIgnored(name:lower()))) and name ~= g_game.getLocalPlayer():getName() then return