summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-08 23:11:26 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-08 23:11:26 -0300
commit0e93d3d0e5348ba12497a0b168a173ebf6c034e5 (patch)
treecba6c0ccc2c5897238ca29fd7eb413164840d6e8 /src
parent1b3d2f507ff6660ad9ecc4a0864d517ca7a1af67 (diff)
downloadevol-hercules-0e93d3d0e5348ba12497a0b168a173ebf6c034e5.tar.gz
evol-hercules-0e93d3d0e5348ba12497a0b168a173ebf6c034e5.tar.bz2
evol-hercules-0e93d3d0e5348ba12497a0b168a173ebf6c034e5.tar.xz
evol-hercules-0e93d3d0e5348ba12497a0b168a173ebf6c034e5.zip
Fix typo
Diffstat (limited to 'src')
-rw-r--r--src/emap/init.c2
-rw-r--r--src/emap/script_buildins.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index c8d0ac8..c1c6dd8 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -246,7 +246,7 @@ HPExport void plugin_init (void)
addScriptCommand("bgnew", "siiss", bgnew);
addScriptCommand("bgjoin", "isii?", bgjoin);
addScriptCommand("apicall", "is", apicall);
- addScriptCommand("apiasync", "s", apiasync);
+ addScriptCommand("apiasync", "ss", apiasync);
// Overrides
addScriptCommand("debugmes","v*",debugmes);
diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c
index 1a34958..540d59a 100644
--- a/src/emap/script_buildins.c
+++ b/src/emap/script_buildins.c
@@ -3624,7 +3624,9 @@ BUILDIN(apicall)
BUILDIN(apiasync)
{
#ifdef PYTHON_LOGS
- logs->pylog(script_getstr(st, 2));
+ char bf1[2048];
+ sprintf(bf1, "%s→%s", script_getstr(st, 2), script_getstr(st, 3));
+ logs->pylog(bf1);
script_pushint(st, 1);
#else
script_pushint(st, 0);