From 8b4494c1c47a686cceb31ea35ed1b07ac67d5a60 Mon Sep 17 00:00:00 2001 From: celest Date: Sun, 28 Nov 2004 17:30:58 +0000 Subject: * Updated packet_ver_flag's default value * Updated Finger Offensive * Added warning if motd.txt was not found * Char-server devs please check Dev/bugs.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@403 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index 7f08690ad..917bbf0a4 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -31,6 +31,7 @@ #include "nullpo.h" #include "atcommand.h" #include "log.h" +#include "showmsg.h" #ifndef TXT_ONLY // mail system [Valaris] #include "mail.h" @@ -841,6 +842,10 @@ int pc_authok(int id, int login_id2, time_t connect_until_time, struct mmo_chars } fclose(fp); } + else if(battle_config.error_log) { + sprintf(buf, "%s not found\n", motd_txt); + ShowWarning (buf); + } } #ifndef TXT_ONLY -- cgit v1.2.3-70-g09d2