summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-08 17:24:24 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-08 17:24:24 +0000
commite40f63571168bfa85567a9accbf53f12d8239af1 (patch)
tree50d2c29f3f66451dccc3b257a812ca82d7b3e3d6 /src/char
parent9429d119e2ce99e16687b1b785352cf5ad0d8ade (diff)
downloadhercules-e40f63571168bfa85567a9accbf53f12d8239af1.tar.gz
hercules-e40f63571168bfa85567a9accbf53f12d8239af1.tar.bz2
hercules-e40f63571168bfa85567a9accbf53f12d8239af1.tar.xz
hercules-e40f63571168bfa85567a9accbf53f12d8239af1.zip
* Added option to turn off login server logging
* Moved char server starting logging to after we've read the configuration file first git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@513 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 2dc2242d9..2d5c5ba7d 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -3348,13 +3348,14 @@ void do_final(void) {
int do_init(int argc, char **argv) {
int i;
- // a newline in the log...
- char_log("");
- char_log("The char-server starting..." RETCODE);
-
char_config_read((argc < 2) ? CHAR_CONF_NAME : argv[1]);
lan_config_read((argc > 1) ? argv[1] : LOGIN_LAN_CONF_NAME);
+ // a newline in the log...
+ char_log("");
+ // moved behind char_config_read in case we changed the filename [celest]
+ char_log("The char-server starting..." RETCODE);
+
if ((naddr_ != 0) && (login_ip_set_ == 0 || char_ip_set_ == 0)) {
// The char server should know what IP address it is running on
// - MouseJstr