mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
plGenericVar => plString
- Also fixes a bug in plGenericType::CopyFrom, where doubles would get only half copied (and therefore become corrupt)
This commit is contained in:
@ -2089,10 +2089,11 @@ bool plPythonFileMod::MsgReceive(plMessage* msg)
|
||||
|
||||
case plVaultNotifyMsg::kPublicAgeCreated:
|
||||
case plVaultNotifyMsg::kPublicAgeRemoved: {
|
||||
if (const char * ageName = vaultNotifyMsg->GetArgs()->GetString(plNetCommon::VaultTaskArgs::kAgeFilename)) {
|
||||
plString ageName = vaultNotifyMsg->GetArgs()->GetString(plNetCommon::VaultTaskArgs::kAgeFilename);
|
||||
if (!ageName.IsEmpty()) {
|
||||
Py_DECREF(ptuple);
|
||||
ptuple = PyTuple_New(1);
|
||||
PyTuple_SetItem(ptuple, 0, PyString_FromString(ageName));
|
||||
PyTuple_SetItem(ptuple, 0, PyString_FromPlString(ageName));
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user