mirror of
https://github.com/znc/znc.git
synced 2026-08-06 08:52:57 +02:00
Fix shell module. It didn't send anything to user.
When the socket fires the Read event, CModule's m_pNetwork isn't set anymore.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user