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:
parent
c7f633a62d
commit
5614abc3ba
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue