Continued work on the bots.

This commit is contained in:
Griatch 2014-02-22 09:56:21 +01:00
parent 54586d0261
commit 2ae5d56928
3 changed files with 15 additions and 12 deletions

View file

@ -259,7 +259,7 @@ class ServerSessionHandler(SessionHandler):
# server-side access methods
def start_bot_session(self, protocol_path, uid):
def start_bot_session(self, protocol_path, uid, configdict):
"""
This method allows the server-side to force the Portal to create
a new bot session using the protocol specified by protocol_path,
@ -271,7 +271,8 @@ class ServerSessionHandler(SessionHandler):
Server.
"""
data = {"protocol_path":protocol_path,
"uid":uid}
"uid":uid,
"config":configdict}
self.server.amp_protocol.call_remote_PortalAdmin(0,
operation=SCONN,
data=data)