]> git.stg.codes - stg.git/blobdiff - projects/rlm_stg/iface.cpp
Added ability to optionally transfer resetable value to a real var.
[stg.git] / projects / rlm_stg / iface.cpp
index 2f8f3e3794072fc72ee523e2146247cab5debde1..f97593f476a41ab0829523639f723ce9e3a55831 100644 (file)
@@ -52,12 +52,13 @@ STG_RESULT toResult(const RESULT& source)
     STG_RESULT result;
     result.modify = toSTGPairs(source.modify);
     result.reply = toSTGPairs(source.reply);
+    result.returnCode = source.returnCode;
     return result;
 }
 
 STG_RESULT emptyResult()
 {
-    STG_RESULT result = {NULL, NULL};
+    STG_RESULT result = {NULL, NULL, STG_REJECT};
     return result;
 }