diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-05-08 23:11:26 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-05-08 23:11:26 -0300 |
commit | 0e93d3d0e5348ba12497a0b168a173ebf6c034e5 (patch) | |
tree | cba6c0ccc2c5897238ca29fd7eb413164840d6e8 | |
parent | 1b3d2f507ff6660ad9ecc4a0864d517ca7a1af67 (diff) | |
download | evol-hercules-0e93d3d0e5348ba12497a0b168a173ebf6c034e5.tar.gz evol-hercules-0e93d3d0e5348ba12497a0b168a173ebf6c034e5.tar.bz2 evol-hercules-0e93d3d0e5348ba12497a0b168a173ebf6c034e5.tar.xz evol-hercules-0e93d3d0e5348ba12497a0b168a173ebf6c034e5.zip |
Fix typo
-rw-r--r-- | src/emap/init.c | 2 | ||||
-rw-r--r-- | src/emap/script_buildins.c | 4 |
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); |