summaryrefslogtreecommitdiff
path: root/src/map/intif.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-03-27 15:55:51 -0300
committershennetsind <ind@henn.et>2013-03-27 15:55:51 -0300
commit9b5ec24b69d4ae517f07ffa7a9b2730adbe998d4 (patch)
tree977ec8be717168c64630081e894b21269430f3be /src/map/intif.c
parent889a866e92a6c50f8a085e9c99001a9373830f44 (diff)
downloadhercules-9b5ec24b69d4ae517f07ffa7a9b2730adbe998d4.tar.gz
hercules-9b5ec24b69d4ae517f07ffa7a9b2730adbe998d4.tar.bz2
hercules-9b5ec24b69d4ae517f07ffa7a9b2730adbe998d4.tar.xz
hercules-9b5ec24b69d4ae517f07ffa7a9b2730adbe998d4.zip
@accinfo update
Added pincode support Changed group_id to group_level as to respect the level hierarchy on whether to display passwords or not. Updated GeoIP Database to March 2013 Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/intif.c')
-rw-r--r--src/map/intif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/intif.c b/src/map/intif.c
index 9391e0275..613a71e66 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -2121,7 +2121,7 @@ int intif_parse_elemental_saved(int fd)
return 0;
}
-void intif_request_accinfo( int u_fd, int aid, int group_id, char* query ) {
+void intif_request_accinfo( int u_fd, int aid, int group_lv, char* query ) {
WFIFOHEAD(inter_fd,2 + 4 + 4 + 4 + NAME_LENGTH);
@@ -2129,7 +2129,7 @@ void intif_request_accinfo( int u_fd, int aid, int group_id, char* query ) {
WFIFOW(inter_fd,0) = 0x3007;
WFIFOL(inter_fd,2) = u_fd;
WFIFOL(inter_fd,6) = aid;
- WFIFOL(inter_fd,10) = group_id;
+ WFIFOL(inter_fd,10) = group_lv;
safestrncpy((char *)WFIFOP(inter_fd,14), query, NAME_LENGTH);
WFIFOSET(inter_fd,2 + 4 + 4 + 4 + NAME_LENGTH);