summaryrefslogtreecommitdiff
path: root/src/map/chat.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-01-12 16:38:58 -0200
committershennetsind <ind@henn.et>2014-01-12 16:38:58 -0200
commite4c21279a33a810ee80c334a74c422affcdab870 (patch)
treea7dab158ca095f82c6814d7c903e222ba90716c6 /src/map/chat.c
parentd9c1629c753ae756ce32613a76e69b3a03970b8d (diff)
parent253e90c67f7ddbbb3ab2f9f68a0d760d059ed797 (diff)
downloadhercules-e4c21279a33a810ee80c334a74c422affcdab870.tar.gz
hercules-e4c21279a33a810ee80c334a74c422affcdab870.tar.bz2
hercules-e4c21279a33a810ee80c334a74c422affcdab870.tar.xz
hercules-e4c21279a33a810ee80c334a74c422affcdab870.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/chat.c')
-rw-r--r--src/map/chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chat.c b/src/map/chat.c
index 52d7f246a..50fe2aeb5 100644
--- a/src/map/chat.c
+++ b/src/map/chat.c
@@ -318,7 +318,7 @@ int chat_kickchat(struct map_session_data* sd, const char* kickusername) {
if (pc_has_permission(cd->usersd[i], PC_PERM_NO_CHAT_KICK))
return 0; //gm kick protection [Valaris]
- idb_put(cd->kick_list,cd->usersd[i]->status.char_id,(void*)1);
+ idb_iput(cd->kick_list,cd->usersd[i]->status.char_id,1);
chat->leave(cd->usersd[i],1);
return 0;