Hi!
13:26:51 <bullfinch> messages
13:26:51 -_awaystore(znc@znc.in)- Welcome Back!
13:26:51 -_awaystore(znc@znc.in)- You have 1 messages!
13:26:52 <bullfinch> show
13:26:52 <_awaystore> bullfinsh!~yeah@booomshakkalakka
13:26:52 <_awaystore> 0) [2015-01-14 10:47:16] pai
13:26:52 <*awaystore> #--- End Messages
13:26:55 <bullfinch> replay
the last command opens a new window with the following content:
13:26:55 -!- Irssi: Starting query in 1272 with
13:26:55 <>
My guess is that the new window should be from nick bullfinsh and so that I could just respond directly in that window.
It would help my setup a whole lot. :)
Oh.
Im running last git version; ZNC - 1.5.0-git-537-230a39f - http://znc.in
## <bountysource-plugin>
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7753694-awaystore-replay-does-not-work?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).
</bountysource-plugin>
<!-- github-sync-id:54316956 -->
if i write haba:baba:saba to the awaylog and replay it I get the following message from Mr. baba
new window that pops up:
13:57:15 -!- Irssi: Starting query in 1272 with baba
13:57:15 saba
output from show in *awaystore:
[2015-01-14 13:54:04] haba:baba:saba
From sourcecode
void ReplayCommand(const CString& sCommand) {
CString nick = GetClient()->GetNick();
for (u_int a = 0; a < m_vMessages.size(); a++) {
CString sWhom = m_vMessages[a].Token(1, false, ":");
CString sMessage = m_vMessages[a].Token(2, true, ":");
PutUser(":" + sWhom + " PRIVMSG " + nick + " :" + sMessage);
}
}
My comment:
I think that the bug might be in the way PutUser creates the stings.
if i write haba:baba:saba to the awaylog and replay it I get the following message from Mr. baba
new window that pops up:
13:57:15 -!- Irssi: Starting query in 1272 with baba
13:57:15 <baba> saba
output from show in *awaystore:
[2015-01-14 13:54:04] haba:baba:saba
From sourcecode
```
void ReplayCommand(const CString& sCommand) {
CString nick = GetClient()->GetNick();
for (u_int a = 0; a < m_vMessages.size(); a++) {
CString sWhom = m_vMessages[a].Token(1, false, ":");
CString sMessage = m_vMessages[a].Token(2, true, ":");
PutUser(":" + sWhom + " PRIVMSG " + nick + " :" + sMessage);
}
}
```
My comment:
I think that the bug might be in the way PutUser creates the stings.
<!-- github-comment-id:69913568 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi!
13:26:51 messages
13:26:51 -_awaystore(znc@znc.in)- Welcome Back!
13:26:51 -_awaystore(znc@znc.in)- You have 1 messages!
13:26:52 show
13:26:52 <_awaystore> bullfinsh!~yeah@booomshakkalakka
13:26:52 <_awaystore> 0) [2015-01-14 10:47:16] pai
13:26:52 <*awaystore> #--- End Messages
13:26:55 replay
the last command opens a new window with the following content:
13:26:55 -!- Irssi: Starting query in 1272 with
13:26:55 <>
My guess is that the new window should be from nick bullfinsh and so that I could just respond directly in that window.
It would help my setup a whole lot. :)
Oh.
Im running last git version; ZNC - 1.5.0-git-537-230a39f - http://znc.in
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
if i write haba:baba:saba to the awaylog and replay it I get the following message from Mr. baba
new window that pops up:
13:57:15 -!- Irssi: Starting query in 1272 with baba
13:57:15 saba
output from show in *awaystore:
[2015-01-14 13:54:04] haba:baba:saba
From sourcecode
My comment:
I think that the bug might be in the way PutUser creates the stings.