summaryrefslogtreecommitdiff
path: root/src/map/pc.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-10-24 15:03:48 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-10-24 15:03:48 -0700
commit147271d2222ea05047ff5542a01b2d36d67a22d3 (patch)
treef5d1bb39c1f48aad1e3323f453895de7e3b9fb2e /src/map/pc.cpp
parenta2dc72e6f957f8e44713eaedd93fd32b69f360fa (diff)
downloadtmwa-147271d2222ea05047ff5542a01b2d36d67a22d3.tar.gz
tmwa-147271d2222ea05047ff5542a01b2d36d67a22d3.tar.bz2
tmwa-147271d2222ea05047ff5542a01b2d36d67a22d3.tar.xz
tmwa-147271d2222ea05047ff5542a01b2d36d67a22d3.zip
Only show MOTD once
Diffstat (limited to 'src/map/pc.cpp')
-rw-r--r--src/map/pc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp
index 06b7ceb..a723555 100644
--- a/src/map/pc.cpp
+++ b/src/map/pc.cpp
@@ -777,6 +777,7 @@ int pc_authok(int id, int login_id2, TimeT connect_until_time,
// 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)
{
+ sd->state.seen_motd = true;
std::ifstream in(motd_txt.c_str());
if (in.is_open())
{