summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/chat/tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/chat/tools.cpp b/src/modules/chat/tools.cpp
index 42022b7c38..a553c4c916 100644
--- a/src/modules/chat/tools.cpp
+++ b/src/modules/chat/tools.cpp
@@ -486,7 +486,7 @@ BOOL IsHighlighted(SESSION_INFO *si, GCEVENT *gce)
p3 = p2;
// compare the words, using wildcards
- if (wildcmpit(szWord1, RemoveFormatting(szWord2)))
+ if (wildcmpit(RemoveFormatting(szWord2), szWord1))
return TRUE;
}
}