summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-04-06 12:05:24 -0400
committermekolat <mekolat@users.noreply.github.com>2016-04-06 12:05:24 -0400
commit9cadad6881246d3d9312c08b5ec077825b2f0d1f (patch)
treeccf744c24219ea3621929e63079515d4d23ab23d
parent3663a754ca986f2d26095650ae6ac86c500e3225 (diff)
downloadtmwa-9cadad6881246d3d9312c08b5ec077825b2f0d1f.tar.gz
tmwa-9cadad6881246d3d9312c08b5ec077825b2f0d1f.tar.bz2
tmwa-9cadad6881246d3d9312c08b5ec077825b2f0d1f.tar.xz
tmwa-9cadad6881246d3d9312c08b5ec077825b2f0d1f.zip
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;
}