diff options
| author | 2021-09-02 11:44:47 +0100 | |
|---|---|---|
| committer | 2021-09-02 11:45:23 +0100 | |
| commit | 3629e99c15a6ee5acd7d6015bc0b8fad1285b671 (patch) | |
| tree | 7fa5373c18589f2d27a3939e78859234dc47ba05 /src/modules/m_spanningtree/uid.cpp | |
| parent | Release v4.0.0 alpha 4. (diff) | |
Add the FRHOST command to allow changing a remote user's real host.
Closes #1803.
Diffstat (limited to 'src/modules/m_spanningtree/uid.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/uid.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/uid.cpp b/src/modules/m_spanningtree/uid.cpp index 8f02fb966..26d87dff2 100644 --- a/src/modules/m_spanningtree/uid.cpp +++ b/src/modules/m_spanningtree/uid.cpp @@ -146,6 +146,13 @@ CmdResult CommandFHost::HandleRemote(RemoteUser* src, Params& params) return CmdResult::SUCCESS; } + +CmdResult CommandFRHost::HandleRemote(RemoteUser* src, Params& params) +{ + src->ChangeRealHost(params[0], false); + return CmdResult::SUCCESS; +} + CmdResult CommandFIdent::HandleRemote(RemoteUser* src, Params& params) { src->ChangeIdent(params[0]); |
