Permalink
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...
sorbits committed Oct 9, 2011
1 parent ae7bcaf commit faf1dd9b7e1a3687b46d37ac0f1aa50416295934
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/crypt.cpp
View
@@ -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);
}

0 comments on commit faf1dd9

Please sign in to comment.