summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/commandmonitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IRCG/src/commandmonitor.cpp')
-rw-r--r--protocols/IRCG/src/commandmonitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IRCG/src/commandmonitor.cpp b/protocols/IRCG/src/commandmonitor.cpp
index b8b8c7ba78..80159a7eb5 100644
--- a/protocols/IRCG/src/commandmonitor.cpp
+++ b/protocols/IRCG/src/commandmonitor.cpp
@@ -2384,7 +2384,7 @@ int CIrcProto::DoPerform(const char* event)
if (pwszPerform == nullptr)
return 0;
- if (my_strstri(pwszPerform, L"/away")) {
+ if (mir_wstrstri(pwszPerform, L"/away")) {
mir_free(pwszPerform);
mir_forkthread(AwayWarningThread);
}