summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-01-24 18:18:39 -0200
committershennetsind <ind@henn.et>2014-01-24 18:18:39 -0200
commit2263dc4660c6668c373f6a9e654e21bea8c419e4 (patch)
tree5a02d740a74d75979e6adee90acd4d63fe807036 /src/map/map.c
parent7438e401b4209198691d3c8ca65b6c702338fa41 (diff)
parent8fb2b31e8de73872baddc3d983a4eea5c359329d (diff)
downloadhercules-2263dc4660c6668c373f6a9e654e21bea8c419e4.tar.gz
hercules-2263dc4660c6668c373f6a9e654e21bea8c419e4.tar.bz2
hercules-2263dc4660c6668c373f6a9e654e21bea8c419e4.tar.xz
hercules-2263dc4660c6668c373f6a9e654e21bea8c419e4.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 07881ea56..33721b028 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -5316,7 +5316,7 @@ CPCMD(gm_use) {
return;
}
map->cpsd->fd = -2;
- if( !atcommand->parse(map->cpsd->fd, map->cpsd, line, 0) )
+ if( !atcommand->exec(map->cpsd->fd, map->cpsd, line, false) )
ShowInfo("HCP: '"CL_WHITE"%s"CL_RESET"' failed\n",line);
else
ShowInfo("HCP: '"CL_WHITE"%s"CL_RESET"' was used\n",line);