summaryrefslogtreecommitdiff
path: root/src/map/chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/chat.c')
-rw-r--r--src/map/chat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/chat.c b/src/map/chat.c
index e66ed7dc3..92901c86e 100644
--- a/src/map/chat.c
+++ b/src/map/chat.c
@@ -149,7 +149,7 @@ int chat_leavechat(struct map_session_data* sd)
cd->users--;
pc_setchatid(sd, 0);
- if( cd->users == 0 && (*cd->owner)->type==BL_PC )
+ if( cd->users == 0 && (*cd->owner)->type == BL_PC )
{// Delete empty chatroom
clif_clearchat(cd, 0);
map_delobject(cd->bl.id);
@@ -158,7 +158,7 @@ int chat_leavechat(struct map_session_data* sd)
for( i = leavechar; i < cd->users; i++ )
cd->usersd[i] = cd->usersd[i + 1];
- if( leavechar == 0 && (*cd->owner)->type==BL_PC )
+ if( leavechar == 0 && (*cd->owner)->type == BL_PC )
{
//Adjust Chat location after owner has been changed.
map_delblock( &cd->bl );