Skip to content

Commit

Permalink
fix incorrect param number
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinEady committed Mar 12, 2023
1 parent ede30c1 commit fbe7dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pol-core/pol/module/osmod.cpp
Expand Up @@ -569,7 +569,7 @@ BObjectImp* OSExecutorModule::mf_OpenConnection()
int use_byte_reader_int;
if ( getStringParam( 0, host ) && getParam( 1, port ) && getStringParam( 2, scriptname_str ) &&
getParamImp( 3, scriptparam ) && getParam( 4, assume_string_int ) &&
getParam( 5, keep_connection_int ) && getParam( 5, use_byte_reader_int ) )
getParam( 5, keep_connection_int ) && getParam( 6, use_byte_reader_int ) )
{
// FIXME needs to inherit available modules?
Core::ScriptDef sd;
Expand Down

0 comments on commit fbe7dad

Please sign in to comment.