about summary refs log tree commit diff stats
path: root/src/ui/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 0954ca35..1a7cfc21 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1071,9 +1071,9 @@ _win_correct(ProfWin *window, const char *const message, const char *const id, c
         return;
     }
 
-    if (g_strcmp0(entry->barejid, from_jid) != 0) {
-        log_debug("Illicit LMC attempt from %s for message from %s with: %s", from_jid, entry->barejid, message);
-        cons_show("Illicit LMC attempt from %s for message from %s", from_jid, entry->barejid);
+    if (g_strcmp0(entry->from_jid, from_jid) != 0) {
+        log_debug("Illicit LMC attempt from %s for message from %s with: %s", from_jid, entry->from_jid, message);
+        cons_show("Illicit LMC attempt from %s for message from %s", from_jid, entry->from_jid);
         return;
     }