When there is a user notification message, such as one of your friends entering the server, joining a game, leaving a game, or leaving a server, the message is sent by the server name, instead of the user triggering the event, which Battle.net does.
This allows the /r command to go to the user triggering the event. http://developer.berlios.de/bugs/?func=detailbug&bug_id=15327&group_id=2291
This commit is contained in:
parent
e86b6701e4
commit
33dec83146
1 changed files with 2 additions and 2 deletions
|
@ -181,7 +181,7 @@ namespace pvpgn
|
|||
else {
|
||||
cnt++; /* keep track of successful whispers */
|
||||
if (friend_get_mutual(fr))
|
||||
message_send_text(dest_c, message_type_whisper, NULL, msg);
|
||||
message_send_text(dest_c, message_type_whisper, my_c, msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -212,7 +212,7 @@ namespace pvpgn
|
|||
{
|
||||
if (it->getOwner() && (!it->getAccount() || it->getAccount() == account) && (!it->getClientTag() || (clienttag == it->getClientTag())) && (it->getEventMask() & event))
|
||||
{
|
||||
message_send_text(it->getOwner(), message_type_whisper, NULL, msg);
|
||||
message_send_text(it->getOwner(), message_type_whisper, my_c, msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue