Skip to content

Commit

Permalink
Forward input to user
Browse files Browse the repository at this point in the history
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@565 726aef4b-f618-498e-8847-2d620e286838
  • Loading branch information
prozacx committed Oct 11, 2005
1 parent 7f82c4b commit c2119b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/raw.cpp
Expand Up @@ -14,6 +14,10 @@ class CRawMod : public CModule {
return CONTINUE;
}

virtual void OnModCommand(const CString& sCommand) {
m_pUser->PutUser(sCommand);
}

virtual EModRet OnUserRaw(CString& sLine) {
PutModule("YOU -> [" + sLine + "]");
return CONTINUE;
Expand Down

0 comments on commit c2119b6

Please sign in to comment.