Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

crypt: Add time stamp to buffered messages

This is relevant when replaying the buffer on connect and brings the crypt module in sync with the normal logging functionality (which it bypasses).
  • Loading branch information...
commit faf1dd9b7e1a3687b46d37ac0f1aa50416295934 1 parent ae7bcaf
@sorbits sorbits authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  modules/crypt.cpp
View
2  modules/crypt.cpp
@@ -47,7 +47,7 @@ class CCryptMod : public CModule {
CChan* pChan = m_pNetwork->FindChan(sTarget);
if (pChan) {
if (!pChan->AutoClearChanBuffer())
- pChan->AddBuffer(":\244" + _NAMEDFMT(m_pNetwork->GetIRCNick().GetNickMask()) + " PRIVMSG " + _NAMEDFMT(sTarget) + " :" + _NAMEDFMT(sMessage));
+ pChan->AddBuffer(":\244" + _NAMEDFMT(m_pNetwork->GetIRCNick().GetNickMask()) + " PRIVMSG " + _NAMEDFMT(sTarget) + " :{text}", sMessage);
m_pUser->PutUser(":\244" + m_pNetwork->GetIRCNick().GetNickMask() + " PRIVMSG " + sTarget + " :" + sMessage, NULL, m_pClient);
}
Please sign in to comment.
Something went wrong with that request. Please try again.