summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-02 17:50:15 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-02 17:50:15 +0000
commit665680682b57d01415afb478b67d0c7c61d21119 (patch)
tree775245f9ea473abcac9d4c29c77c69daa1061345 /src/map/pc.c
parent493fb3cce76b9b659010b8aeee07916de85cdd5b (diff)
downloadhercules-665680682b57d01415afb478b67d0c7c61d21119.tar.gz
hercules-665680682b57d01415afb478b67d0c7c61d21119.tar.bz2
hercules-665680682b57d01415afb478b67d0c7c61d21119.tar.xz
hercules-665680682b57d01415afb478b67d0c7c61d21119.zip
* Added motd_type
* Edited atcommand.c to fix compile warnings git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@436 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index c047b5745..94ee62fbb 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -838,7 +838,10 @@ int pc_authok(int id, int login_id2, time_t connect_until_time, struct mmo_chars
break;
}
}
- clif_displaymessage(sd->fd, buf);
+ if (battle_config.motd_type)
+ clif_disp_onlyself(sd,buf,strlen(buf));
+ else
+ clif_displaymessage(sd->fd, buf);
}
fclose(fp);
}