diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-20 21:47:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-20 21:47:38 +0300 |
commit | bf79b543550529585ffb162799663fd3d7adc95b (patch) | |
tree | 4af19013f3f777a12541d3567838c9699f1c983a /src/map/script.c | |
parent | 72dbae9ff75d62d5c6406169515b8054e1d84362 (diff) | |
download | plugin-bf79b543550529585ffb162799663fd3d7adc95b.tar.gz plugin-bf79b543550529585ffb162799663fd3d7adc95b.tar.bz2 plugin-bf79b543550529585ffb162799663fd3d7adc95b.tar.xz plugin-bf79b543550529585ffb162799663fd3d7adc95b.zip |
Use format script function in 'l' script function.
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index 3b09e88..7c53e8e 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -23,11 +23,11 @@ #include "map/send.h" #include "map/session.h" #include "map/sessionext.h" +#include "map/utils/formatutils.h" BUILDIN(l) { - // for now not translate and not use format parameters - script_pushstr(st, aStrdup(script_getstr(st, 2))); + format_sub(st, 1); return true; } |