summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-04-02 22:37:30 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-04-02 22:37:30 -0700
commit5586980e438bc52bf0e5f6c7b662d36d95b48f17 (patch)
treeeb9ea10510dbf37811e0abec98fa1f3244c7775a
parentf698292807903575405877ce51f7a2d181f656db (diff)
downloadtmwa-5586980e438bc52bf0e5f6c7b662d36d95b48f17.tar.gz
tmwa-5586980e438bc52bf0e5f6c7b662d36d95b48f17.tar.bz2
tmwa-5586980e438bc52bf0e5f6c7b662d36d95b48f17.tar.xz
tmwa-5586980e438bc52bf0e5f6c7b662d36d95b48f17.zip
Fix @tee duplication
-rw-r--r--src/map/atcommand.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/map/atcommand.cpp b/src/map/atcommand.cpp
index b44351a..78a50ab 100644
--- a/src/map/atcommand.cpp
+++ b/src/map/atcommand.cpp
@@ -4596,11 +4596,7 @@ static
ATCE atcommand_tee(Session *, dumb_ptr<map_session_data> sd,
ZString message)
{
- MString data;
- data += sd->status_key.name.to__actual();
- data += " : ";
- data += message;
- clif_message(sd, AString(data));
+ clif_message(sd, message);
return ATCE::OKAY;
}