From 9080a58e2184eeb36b30e6dc653ec5459b3acfb1 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 17 May 2013 13:53:41 -0300 Subject: MOTD redesign much more flexible, as per community suggestion in http://hercules.ws/board/topic/320-motd-change-suggestion/ dropped motd_type config new motd is at npc/MOTD.txt dropped @motd, @gmotd commands Signed-off-by: shennetsind --- src/map/map.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index 49aef6c4c..ddd2a9c82 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -151,7 +151,6 @@ struct map_cache_map_info { }; char db_path[256] = "db"; -char motd_txt[256] = "conf/motd.txt"; char help_txt[256] = "conf/help.txt"; char help2_txt[256] = "conf/help2.txt"; char charhelp_txt[256] = "conf/charhelp.txt"; @@ -3340,8 +3339,6 @@ int map_config_read(char *cfgName) minsave_interval = 1; } else if (strcmpi(w1, "save_settings") == 0) save_settings = atoi(w2); - else if (strcmpi(w1, "motd_txt") == 0) - strcpy(motd_txt, w2); else if (strcmpi(w1, "help_txt") == 0) strcpy(help_txt, w2); else if (strcmpi(w1, "help2_txt") == 0) @@ -5206,6 +5203,7 @@ void load_defaults(void) { ircbot_defaults(); log_defaults(); map_defaults(); + npc_defaults(); script_defaults(); searchstore_defaults(); skill_defaults(); -- cgit v1.2.3-70-g09d2