summaryrefslogtreecommitdiff
path: root/protocols/Omegle
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 18:37:53 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 18:37:53 +0000
commite2d7ebd6315a810bd4ea54f1088b84d09c3ca5d2 (patch)
tree736bb8768f17b26904cdf8e0fe6fb47e1dcb892e /protocols/Omegle
parenta882eddcba5fd22adab1454c8d2ff9c224bc7aa7 (diff)
replace stricmp to mir_strcmpi
git-svn-id: http://svn.miranda-ng.org/main/trunk@13760 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Omegle')
-rw-r--r--protocols/Omegle/src/chat.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/Omegle/src/chat.cpp b/protocols/Omegle/src/chat.cpp
index cacc111d59..2bd16d8d14 100644
--- a/protocols/Omegle/src/chat.cpp
+++ b/protocols/Omegle/src/chat.cpp
@@ -80,7 +80,7 @@ int OmegleProto::OnChatEvent(WPARAM, LPARAM lParam)
command = text.substr(1);
}
- if (!stricmp(command.c_str(), "new"))
+ if (!mir_strcmpi(command.c_str(), "new"))
{
facy.spy_mode_ = false;
facy.question_.clear();
@@ -88,12 +88,12 @@ int OmegleProto::OnChatEvent(WPARAM, LPARAM lParam)
ForkThread(&OmegleProto::NewChatWorker, NULL);
break;
}
- else if (!stricmp(command.c_str(), "quit"))
+ else if (!mir_strcmpi(command.c_str(), "quit"))
{
ForkThread(&OmegleProto::StopChatWorker, NULL);
break;
}
- else if (!stricmp(command.c_str(), "spy"))
+ else if (!mir_strcmpi(command.c_str(), "spy"))
{
facy.spy_mode_ = true;
facy.question_.clear();
@@ -101,7 +101,7 @@ int OmegleProto::OnChatEvent(WPARAM, LPARAM lParam)
ForkThread(&OmegleProto::NewChatWorker, NULL);
break;
}
- else if (!stricmp(command.c_str(), "ask"))
+ else if (!mir_strcmpi(command.c_str(), "ask"))
{
if (params.empty()) {
// Load last question
@@ -134,7 +134,7 @@ int OmegleProto::OnChatEvent(WPARAM, LPARAM lParam)
ForkThread(&OmegleProto::NewChatWorker, NULL);
break;
}
- else if (!stricmp(command.c_str(), "asl"))
+ else if (!mir_strcmpi(command.c_str(), "asl"))
{
DBVARIANT dbv;
if ( !getU8String( OMEGLE_KEY_ASL,&dbv )) {
@@ -147,7 +147,7 @@ int OmegleProto::OnChatEvent(WPARAM, LPARAM lParam)
break;
}
}
- else if (!stricmp(command.c_str(), "help"))
+ else if (!mir_strcmpi(command.c_str(), "help"))
{
UpdateChat(NULL, TranslateT("There are three different modes of chatting:\
\n1) Standard mode\t - You chat with random stranger privately\
@@ -155,7 +155,7 @@ int OmegleProto::OnChatEvent(WPARAM, LPARAM lParam)
\n3) Spy mode\t - You and stranger got a question to discuss from third stranger (he can't join your conversation, only watch)\
\n\nSend '/commands' for available commands."), false);
}
- else if (!stricmp(command.c_str(), "commands"))
+ else if (!mir_strcmpi(command.c_str(), "commands"))
{
UpdateChat(NULL, TranslateT("You can use different commands:\
\n/help\t - show info about chat modes\