mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-12-03 13:20:16 -05:00
Cleanup
This commit is contained in:
parent
e3f1a5e7cd
commit
64fee86ebc
5 changed files with 30 additions and 44 deletions
|
|
@ -309,7 +309,8 @@ class ListenerSession:
|
|||
self.terminate("Invalid state")
|
||||
return
|
||||
|
||||
self.cmdline = self.default_command
|
||||
self.cmdline = []
|
||||
self.cmdline.extend(self.default_command)
|
||||
if not self.allow_remote_command and cmdline and len(cmdline) > 0:
|
||||
self.terminate("Remote command line not allowed by listener")
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue