diff --git a/modules/extra/shell.cpp b/modules/extra/shell.cpp index 5067ff12..770f706e 100644 --- a/modules/extra/shell.cpp +++ b/modules/extra/shell.cpp @@ -94,7 +94,7 @@ public: CString sPath = m_sPath.Replace_n(" ", "_"); CString sSource = ":" + GetModNick() + "!shell@" + sPath; CString sLine = sSource + " PRIVMSG " + m_pClient->GetNick() + " :" + sMsg; - PutUser(sLine); + m_pClient->PutClient(sLine); } void RunCommand(const CString& sCommand) {