Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use " " instead of ":" in awaystore's buffer internal format. Fix #267

  • Loading branch information...
commit ae7bcaf87dfae74c6069472173c64259c8a5a682 1 parent 9f4f281
@DarthGandalf DarthGandalf authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 modules/awaystore.cpp
View
8 modules/awaystore.cpp
@@ -119,9 +119,9 @@ class CAway : public CModule
void ShowCommand(const CString& sCommand) {
map< CString, vector< CString> > msvOutput;
for (u_int a = 0; a < m_vMessages.size(); a++) {
- CString sTime = m_vMessages[a].Token(0, false, ":");
- CString sWhom = m_vMessages[a].Token(1, false, ":");
- CString sMessage = m_vMessages[a].Token(2, true, ":");
+ CString sTime = m_vMessages[a].Token(0, false);
+ CString sWhom = m_vMessages[a].Token(1, false);
+ CString sMessage = m_vMessages[a].Token(2, true);
if ((sTime.empty()) || (sWhom.empty()) || (sMessage.empty())) {
// illegal format
@@ -447,7 +447,7 @@ class CAway : public CModule
{
if (Nick.GetNick() == m_pNetwork->GetIRCNick().GetNick())
return; // ignore messages from self
- AddMessage(CString(iTime) + ":" + Nick.GetNickMask() + ":" + sMessage);
+ AddMessage(CString(iTime) + " " + Nick.GetNickMask() + " " + sMessage);
}
void AddMessage(const CString & sText)
Please sign in to comment.
Something went wrong with that request. Please try again.