diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-12-13 16:59:08 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-12-14 12:26:23 +0000 |
commit | 9de3787c47ae59d59db2d69def61705c2b20868b (patch) | |
tree | 1e4fd5e49947ba40038801a873e2cc0aca1b33ec /src/daemon/command_server.cpp | |
parent | Merge pull request #7102 (diff) | |
download | monero-9de3787c47ae59d59db2d69def61705c2b20868b.tar.xz |
daemon: the ban command can now load IPs from a file (ban @filename)
Diffstat (limited to 'src/daemon/command_server.cpp')
-rw-r--r-- | src/daemon/command_server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp index dd5f76188..4768bb842 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -234,8 +234,8 @@ t_command_server::t_command_server( m_command_lookup.set_handler( "ban" , std::bind(&t_command_parser_executor::ban, &m_parser, p::_1) - , "ban <IP> [<seconds>]" - , "Ban a given <IP> for a given amount of <seconds>." + , "ban [<IP>|@<filename>] [<seconds>]" + , "Ban a given <IP> or list of IPs from a file for a given amount of <seconds>." ); m_command_lookup.set_handler( "unban" |