summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2015-01-11 16:58:52 +0100
committerHaruna <haru@dotalux.com>2015-01-11 16:58:52 +0100
commit670fca4c54445440c25e1114e64170e3934645f1 (patch)
tree2283314884d273c4525d5b527cd0d6c9496020d1 /src/map/atcommand.c
parent0500a83b68485616d53db34c2ac494faba6be7eb (diff)
parentd5cbfe3188c9c0f91f74772237606863c5ff6114 (diff)
downloadhercules-670fca4c54445440c25e1114e64170e3934645f1.tar.gz
hercules-670fca4c54445440c25e1114e64170e3934645f1.tar.bz2
hercules-670fca4c54445440c25e1114e64170e3934645f1.tar.xz
hercules-670fca4c54445440c25e1114e64170e3934645f1.zip
Merge pull request #438 from 4144/pcdb_checkid
Convert pcdb_checkid into function in pc interface
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 5e50a06ee..215ecbc70 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -971,7 +971,7 @@ ACMD(jobchange) {
return true;
}
- if (pcdb_checkid(job)) {
+ if (pc->db_checkid(job)) {
if (pc->jobchange(sd, job, upper) == 0)
clif->message(fd, msg_txt(12)); // Your job has been changed.
else {