diff OrthancServer/LuaScripting.cpp @ 2944:f395460af74d

simplifying OrthancConfiguration for modalities/peers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 29 Nov 2018 16:31:20 +0100
parents 4767d36679ed
children bbfd95a0c429
line wrap: on
line diff
--- a/OrthancServer/LuaScripting.cpp	Thu Nov 29 15:16:32 2018 +0100
+++ b/OrthancServer/LuaScripting.cpp	Thu Nov 29 16:31:20 2018 +0100
@@ -466,7 +466,7 @@
       std::string name = parameters["Peer"].asString();
 
       WebServiceParameters peer;
-      if (configLock.GetConfiguration().GetOrthancPeer(peer, name))
+      if (configLock.GetConfiguration().LookupOrthancPeer(peer, name))
       {
         return lock.AddStorePeerOperation(peer);
       }