summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-01-29 11:30:24 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-01-29 11:30:24 +0000
commitdbb6b02733e07c315435d29e46b21e7a072ce3b0 (patch)
tree482a051c904acfb146d18ed78f743bb0e3c61175 /src/map/clif.c
parent9acb21fa52f80cc6ad6a03f09f019821dce3d23c (diff)
downloadhercules-dbb6b02733e07c315435d29e46b21e7a072ce3b0.tar.gz
hercules-dbb6b02733e07c315435d29e46b21e7a072ce3b0.tar.bz2
hercules-dbb6b02733e07c315435d29e46b21e7a072ce3b0.tar.xz
hercules-dbb6b02733e07c315435d29e46b21e7a072ce3b0.zip
* Removed @aw/@away which duplicates and collides with client's /am (away message) (bugreport:1235, topic:163083, since r4351).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14686 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 9831ef4c2..b724ddbab 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9283,19 +9283,6 @@ void clif_parse_WisMessage(int fd, struct map_session_data* sd)
// notify sender of success
clif_wis_end(fd, 0); // 0: success to send wisper
- // if player has an auto-away message
- if(dstsd->away_message[0] != '\0')
- {
- char output[256];
- sprintf(output, "%s %s", message, msg_txt(543)); // "(Automessage has been sent)"
- clif_wis_message(dstsd->fd, sd->status.name, output, strlen(output) + 1);
- if(dstsd->state.autotrade)
- sprintf(output, msg_txt(544), dstsd->away_message); // "Away [AT] - "%s""
- else
- sprintf(output, msg_txt(545), dstsd->away_message); // "Away - "%s""
- clif_wis_message(fd, dstsd->status.name, output, strlen(output) + 1);
- return;
- }
// Normal message
clif_wis_message(dstsd->fd, sd->status.name, message, messagelen);
return;