Fixup name 'handler'

pull/7187/head
Erik Johnston 2020-04-06 14:43:23 +01:00
parent 8d81fd25c4
commit 984c959f38
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ class ReplicationStreamProtocolFactory(Factory):
"""
def __init__(self, hs):
self.handler = hs.get_tcp_replication()
self.command_handler = hs.get_tcp_replication()
self.clock = hs.get_clock()
self.server_name = hs.config.server_name
@ -52,7 +52,7 @@ class ReplicationStreamProtocolFactory(Factory):
def buildProtocol(self, addr):
return ServerReplicationStreamProtocol(
self.server_name, self.clock, self.handler
self.server_name, self.clock, self.command_handler
)