Fix history - do not cache private messages.
This commit is contained in:
parent
10615a9a1a
commit
31d4b0f0b1
@ -197,6 +197,7 @@ int hub_handle_chat_message(struct hub_info* hub, struct hub_user* u, struct adc
|
||||
if (relay && user_is_logged_in(u))
|
||||
{
|
||||
/* adc_msg_remove_named_argument(cmd, "PM"); */
|
||||
if (cmd->cache[0] == 'B')
|
||||
hub_chat_history_add(hub, u, cmd);
|
||||
ret = route_message(hub, u, cmd);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user