Fix olc with existing prototype

This commit is contained in:
Griatch 2018-04-01 09:26:55 +02:00
parent 43cec126ed
commit 9e46d996b1

View file

@ -2909,7 +2909,7 @@ class CmdSpawn(COMMAND_DEFAULT_CLASS):
elif metaprot:
# one match
metaprot = metaprot[0]
start_olc(caller, self.session, metaprot)
start_olc(caller, session=self.session, metaproto=metaprot)
return
if 'search' in self.switches: