diff options
author | mekolat <mekolat@users.noreply.github.com> | 2015-05-07 13:49:33 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2015-05-07 13:49:33 -0400 |
commit | 85057efe2b9d3a68f4f151b8de9e1a587cf3fae2 (patch) | |
tree | 114d0b156053b6f9ff395a9173d77c8ce85a43a9 /src/map/pc.cpp | |
parent | d582d06bfb0ea3239d1c61b355ab3427318e915d (diff) | |
download | tmwa-85057efe2b9d3a68f4f151b8de9e1a587cf3fae2.tar.gz tmwa-85057efe2b9d3a68f4f151b8de9e1a587cf3fae2.tar.bz2 tmwa-85057efe2b9d3a68f4f151b8de9e1a587cf3fae2.tar.xz tmwa-85057efe2b9d3a68f4f151b8de9e1a587cf3fae2.zip |
death to the motd!!!11one11
Diffstat (limited to 'src/map/pc.cpp')
-rw-r--r-- | src/map/pc.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp index 80abb73..d99491b 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -801,8 +801,6 @@ int pc_authok(AccountId id, int login_id2, return 0; } -// TODO fix this to cache and use inotify -// this is far from the only such thing, but most of the others are logs void pc_show_motd(dumb_ptr<map_session_data> sd) { // Attention all forks: DO NOT REMOVE THIS NOTICE. @@ -815,15 +813,6 @@ void pc_show_motd(dumb_ptr<map_session_data> sd) npc_event_doall_l(stringish<ScriptLabel>("OnPCLoginEvent"_s), sd->bl_id, nullptr); sd->state.seen_motd = true; - io::ReadFile in(map_conf.motd_txt); - if (in.is_open()) - { - AString buf; - while (in.getline(buf)) - { - clif_displaymessage(sd->sess, buf); - } - } } /*========================================== |