Skip to content

Commit

Permalink
Fixed private messages bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
cathyjf committed Oct 7, 2010
1 parent f4af248 commit 20eb0da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1496,7 +1496,7 @@ class ClientImpl : public Client, public enable_shared_from_this<ClientImpl> {
content += "(truncated)";
}
sendMessage(PrivateMessage(target, m_name, content));
client->sendMessage(PrivateMessage(m_name, target, content));
client->sendMessage(PrivateMessage(m_name, m_name, content));
}

string m_name;
Expand Down

0 comments on commit 20eb0da

Please sign in to comment.