Fix for bug #156
This commit is contained in:
parent
b993e97bb4
commit
4ede1b2d8a
@ -309,7 +309,10 @@ int hub_handle_chat_message(struct hub_info* hub, struct hub_user* u, struct adc
|
|||||||
else if (private_msg)
|
else if (private_msg)
|
||||||
{
|
{
|
||||||
struct hub_user* target = uman_get_user_by_sid(hub, cmd->target);
|
struct hub_user* target = uman_get_user_by_sid(hub, cmd->target);
|
||||||
|
if (target)
|
||||||
status = plugin_handle_private_message(hub, u, target, message, 0);
|
status = plugin_handle_private_message(hub, u, target, message, 0);
|
||||||
|
else
|
||||||
|
relay = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (status == st_deny)
|
if (status == st_deny)
|
||||||
|
Loading…
Reference in New Issue
Block a user