summaryrefslogtreecommitdiff
path: root/src/common/plugins.c
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-29 20:32:21 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-29 20:32:21 +0000
commit354a65564f48113c78f886f9df3329abd8bfd756 (patch)
tree107b7e9d0df618fadca23150fbbceb4f8c8ba517 /src/common/plugins.c
parent20990141f99acddc43e09c4090eff120a435719b (diff)
downloadhercules-354a65564f48113c78f886f9df3329abd8bfd756.tar.gz
hercules-354a65564f48113c78f886f9df3329abd8bfd756.tar.bz2
hercules-354a65564f48113c78f886f9df3329abd8bfd756.tar.xz
hercules-354a65564f48113c78f886f9df3329abd8bfd756.zip
- Removed leftover TXT configs, follow-up to r15503.
- Edited more ***_config_read() functions to show a warning if "Unknown setting" is found. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16009 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/plugins.c')
-rw-r--r--src/common/plugins.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/plugins.c b/src/common/plugins.c
index 937ec0aaa..5e021f35e 100644
--- a/src/common/plugins.c
+++ b/src/common/plugins.c
@@ -325,6 +325,8 @@ static int plugins_config_read(const char *cfgName)
plugin_load(filename);
} else if( strcmpi(w1,"import") == 0 )
plugins_config_read(w2);
+ else
+ ShowWarning("Unknown setting '%s' in file %s\n", w1, cfgName);
}
fclose(fp);
return 0;