Replace the deprecated overload of CMessage::GetParam

This commit is contained in:
Alexey Sokolov
2018-06-01 21:52:56 +01:00
parent 5b7daac2f0
commit e531fe870a
7 changed files with 11 additions and 11 deletions

View File

@@ -144,7 +144,7 @@ class CSChat : public CModule {
EModRet OnUserRawMessage(CMessage& msg) override {
if (!msg.GetCommand().Equals("schat")) return CONTINUE;
const CString sParams = msg.GetParams(0);
const CString sParams = msg.GetParamsColon(0);
if (sParams.empty()) {
PutModule("SChat User Area ...");
OnModCommand("help");