Rename welcome to iam
This commit is contained in:
parent
160508ad29
commit
43f2afd50d
@ -61,7 +61,7 @@ class SyncProtocol(LineReceiver):
|
||||
self._send('error', error)
|
||||
self._drop()
|
||||
|
||||
def _handle_init_welcome(self, arg):
|
||||
def _handle_init_iam(self, arg):
|
||||
self.factory.add_watcher(self, arg.strip())
|
||||
self.state = 'connected'
|
||||
|
||||
@ -105,7 +105,7 @@ class SyncProtocol(LineReceiver):
|
||||
|
||||
states = dict(
|
||||
init = dict(
|
||||
welcome = '_handle_init_welcome',
|
||||
iam = '_handle_init_iam',
|
||||
),
|
||||
connected = dict(
|
||||
state = '_handle_connected_state',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user