From 147271d2222ea05047ff5542a01b2d36d67a22d3 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 24 Oct 2013 15:03:48 -0700 Subject: Only show MOTD once --- src/map/pc.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/pc.cpp') 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 sd) { + sd->state.seen_motd = true; std::ifstream in(motd_txt.c_str()); if (in.is_open()) { -- cgit v1.2.3-60-g2f50