diff options
author | Ira Rice <irarice@gmail.com> | 2009-02-06 17:38:12 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-06 17:38:12 -0700 |
commit | 1458c6b808afaf3af2f1f50f1988427edf64826c (patch) | |
tree | 711b48bb56ff05fa333cc4ef984a37839045cfe9 /src/gui/chat.h | |
parent | b7c33d7ec26735bade5c6e8a2ff9d06586cc7d0c (diff) | |
download | mana-1458c6b808afaf3af2f1f50f1988427edf64826c.tar.gz mana-1458c6b808afaf3af2f1f50f1988427edf64826c.tar.bz2 mana-1458c6b808afaf3af2f1f50f1988427edf64826c.tar.xz mana-1458c6b808afaf3af2f1f50f1988427edf64826c.zip |
Sanitized item links so that at no point is the internal representation
of the item link shown. This should help make it easier for people to
represent the square brackets with item links, and prevent people from
forging item links when they never see the internal representation of an
item link. Should also reduce confusion from people who haven't upgraded
their clients as well, as they wonder what all the junk is around the
item name.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r-- | src/gui/chat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h index 872c0041..2fadb014 100644 --- a/src/gui/chat.h +++ b/src/gui/chat.h @@ -179,7 +179,7 @@ class ChatWindow : public Window, public gcn::ActionListener, void setInputText(std::string input_str); /** Called to add item to chat */ - void addItemText(int itemid, const std::string &item); + void addItemText(const std::string &item); /** Override to reset mTmpVisible */ void setVisible(bool visible); |