summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-04-08 16:55:47 -0400
committermekolat <mekolat@users.noreply.github.com>2016-04-08 16:55:47 -0400
commitacf616855d864fdce9ddc9ec7c5b655c67f36aec (patch)
treeccf744c24219ea3621929e63079515d4d23ab23d
parent3663a754ca986f2d26095650ae6ac86c500e3225 (diff)
parent9cadad6881246d3d9312c08b5ec077825b2f0d1f (diff)
downloadtmwa-acf616855d864fdce9ddc9ec7c5b655c67f36aec.tar.gz
tmwa-acf616855d864fdce9ddc9ec7c5b655c67f36aec.tar.bz2
tmwa-acf616855d864fdce9ddc9ec7c5b655c67f36aec.tar.xz
tmwa-acf616855d864fdce9ddc9ec7c5b655c67f36aec.zip
Merge pull request #203 from mekolat/send-nick
always send nick to self
-rw-r--r--src/map/clif.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.cpp b/src/map/clif.cpp
index a38151f..2a34870 100644
--- a/src/map/clif.cpp
+++ b/src/map/clif.cpp
@@ -3846,7 +3846,7 @@ RecvResult clif_parse_GlobalMessage(Session *s, dumb_ptr<map_session_data> sd)
}
/* Send the message back to the speaker. */
- send_packet_repeatonly<0x008e, 4, 1>(s, repeat);
+ send_packet_repeatonly<0x008e, 4, 1>(s, STRPRINTF("%s : %s"_fmt, battle_get_name(sd), mbuf));
return rv;
}