0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-04-29 13:04:17 +02:00

modules/console: Default to @ircd when redact cmd sender not specified.

This commit is contained in:
Jason Volk 2020-04-27 16:34:25 -07:00
parent c7f633a62d
commit 5614abc3ba

View file

@ -15327,7 +15327,9 @@ console_cmd__redact(opt &out, const string_view &line)
const m::user::id &sender
{
param.at("sender")
param["sender"]?
param["sender"]:
m::me()
};
const string_view reason