summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-24 05:25:09 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-24 05:25:09 +0000
commitbd2b6f5c05c7fdd3506d0bc298ec3db699f679ef (patch)
tree074aaa5d3d91cd2f9c2c2df1955402242b341aa9 /src/map/atcommand.c
parent740ae24edcbf817163b32827fcf1ac9ca3a84965 (diff)
downloadhercules-bd2b6f5c05c7fdd3506d0bc298ec3db699f679ef.tar.gz
hercules-bd2b6f5c05c7fdd3506d0bc298ec3db699f679ef.tar.bz2
hercules-bd2b6f5c05c7fdd3506d0bc298ec3db699f679ef.tar.xz
hercules-bd2b6f5c05c7fdd3506d0bc298ec3db699f679ef.zip
Fixed @adjgroup so that the cached permissions are updated alongside the group id.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16488 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 6eeb5ec9f..ab2fadae2 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -6421,6 +6421,7 @@ ACMD_FUNC(adjgroup)
}
sd->group_id = new_group;
+ pc_group_pc_load(sd);/* update cache */
clif_displaymessage(fd, "Group changed successfully.");
clif_displaymessage(sd->fd, "Your group has changed.");
return 0;