Browse files

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.
  • Loading branch information...
1 parent 59c6215 commit c6464797e6c641422d336f6e391ad5ed81730b0d Alexey Sokolov committed Oct 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/extra/shell.cpp
View
2 modules/extra/shell.cpp
@@ -94,7 +94,7 @@ class CShellMod : public CModule {
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) {

0 comments on commit c646479

Please sign in to comment.