mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 12:34:43 +00:00
Use the 'allow_remote' config option instead of always using False
This commit is contained in:
parent
97d2f371b3
commit
04fdd521ea
@ -82,7 +82,10 @@ class Daemon(object):
|
||||
# Start the core as a thread and join it until it's done
|
||||
self.core = Core()
|
||||
|
||||
self.rpcserver = RPCServer(options.port if options.port else self.core.config["daemon_port"])
|
||||
self.rpcserver = RPCServer(
|
||||
options.port if options.port else self.core.config["daemon_port"],
|
||||
self.core.config["allow_remote"]
|
||||
)
|
||||
self.rpcserver.register_object(self.core, "core")
|
||||
self.rpcserver.register_object(self, "daemon")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user