diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-12-19 17:23:52 -0600 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-12-19 17:23:52 -0600 |
commit | ecedaf2975412c740ee69d20d20b2aeb425e4b25 (patch) | |
tree | 4bd9bc8e424abbbd4d1f919c4153f96871be84f2 /src/daemon/command_server.cpp | |
parent | Merge pull request #7140 (diff) | |
parent | daemon: the ban command can now load IPs from a file (ban @filename) (diff) | |
download | monero-ecedaf2975412c740ee69d20d20b2aeb425e4b25.tar.xz |
Merge pull request #7142
905cc07 daemon: the ban command can now load IPs from a file (ban @filename) (moneromooo-monero)
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 ac4c30726..46d96bda4 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -233,8 +233,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" |