From 665680682b57d01415afb478b67d0c7c61d21119 Mon Sep 17 00:00:00 2001 From: celest Date: Thu, 2 Dec 2004 17:50:15 +0000 Subject: * 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 --- src/map/pc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/map/pc.c') 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); } -- cgit v1.2.3-70-g09d2