diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-01-26 09:44:10 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-01-26 09:44:10 +0000 |
commit | 5514b1d63acfbe0fa0e51a855679769d4f013e35 (patch) | |
tree | 6c7e084b8b95398e2e35d9ca867a6d3e2af674e5 /src/map/atcommand.c | |
parent | cece111a565a6d53790248eaa01bf68615d3a4b1 (diff) | |
download | hercules-5514b1d63acfbe0fa0e51a855679769d4f013e35.tar.gz hercules-5514b1d63acfbe0fa0e51a855679769d4f013e35.tar.bz2 hercules-5514b1d63acfbe0fa0e51a855679769d4f013e35.tar.xz hercules-5514b1d63acfbe0fa0e51a855679769d4f013e35.zip |
Some random cleaning
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12141 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index ea8a1d163..fcba7b5dd 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -3663,7 +3663,7 @@ int atcommand_kick(const int fd, struct map_session_data* sd, const char* comman return -1; } - clif_GM_kick(sd, pl_sd, 1); + clif_GM_kick(sd, pl_sd); return 0; } @@ -3682,7 +3682,7 @@ int atcommand_kickall(const int fd, struct map_session_data* sd, const char* com for (i = 0; i < users; i++) { if ((pl_sd = pl_allsd[i]) && pc_isGM(sd) >= pc_isGM(pl_sd)) { // you can kick only lower or same gm level if (sd->status.account_id != pl_sd->status.account_id) - clif_GM_kick(sd, pl_sd, 0); + clif_GM_kick(NULL, pl_sd); } } @@ -3899,9 +3899,9 @@ int atcommand_mapexit(const int fd, struct map_session_data* sd, const char* com pl_allsd = map_getallusers(&users); for (i = 0; i < users; i++) { if ((pl_sd = pl_allsd[i]) && sd->status.account_id != pl_sd->status.account_id) - clif_GM_kick(sd, pl_sd, 0); + clif_GM_kick(NULL, pl_sd); } - clif_GM_kick(sd, sd, 0); + clif_GM_kick(NULL, sd); flush_fifos(); |