mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Replace the deprecated overload of CMessage::GetParam
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user