summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c5
1 files changed, 5 insertions, 0 deletions
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