summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2018-06-25 02:01:53 +0300
committerdartraiden <wowemuh@gmail.com>2018-06-25 02:01:53 +0300
commita855187c9da2dfed2aaee5a6e92555f37b5298d5 (patch)
treebcf0747b007124c88a0bcf2a29a1cca5fb8936ad
parent3e7d3ebc67e9d6b818d26cd1e857fd633252f1ee (diff)
IRC: if user decide "kick with reason", he should write a reason manually
-rw-r--r--protocols/IRCG/src/commandmonitor.cpp2
-rw-r--r--protocols/IRCG/src/services.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IRCG/src/commandmonitor.cpp b/protocols/IRCG/src/commandmonitor.cpp
index 25e0c78060..6a388da899 100644
--- a/protocols/IRCG/src/commandmonitor.cpp
+++ b/protocols/IRCG/src/commandmonitor.cpp
@@ -2117,7 +2117,7 @@ bool CIrcProto::OnIrc_USERHOST_REPLY(const CIrcMessage *pmsg)
channel = (command.c_str() + 1);
mess.Format(L"/MODE %s +b *!*@%s%%newl/KICK %s %s %%question=\"%s\",\"%s\",\"%s\"",
channel.c_str(), host.c_str(), channel.c_str(), nick.c_str(),
- TranslateT("Please enter the reason"), TranslateT("Ban'n Kick"), TranslateT("Jerk"));
+ TranslateT("Please enter the reason"), TranslateT("Ban'n Kick"), "");
break;
}
diff --git a/protocols/IRCG/src/services.cpp b/protocols/IRCG/src/services.cpp
index 920eef758e..d3d2caedbf 100644
--- a/protocols/IRCG/src/services.cpp
+++ b/protocols/IRCG/src/services.cpp
@@ -632,7 +632,7 @@ int __cdecl CIrcProto::GCEventHook(WPARAM, LPARAM lParam)
break;
case 6:
PostIrcMessage(L"/KICK %s %s %%question=\"%s\",\"%s\",\"%s\"",
- p1, gch->ptszUID, TranslateT("Please enter the reason"), TranslateT("Kick"), TranslateT("Jerk"));
+ p1, gch->ptszUID, TranslateT("Please enter the reason"), TranslateT("Kick"), "");
break;
case 7:
DoUserhostWithReason(1, L"B" + (CMStringW)p1, true, L"%s", gch->ptszUID);