diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-09-19 12:28:42 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-09-19 12:28:42 +0000 |
commit | 2c4d4ecc19fc8308b2772e4ffe6570ca362264d1 (patch) | |
tree | a4b6d78a89bfd12b3667129bd0bae63a805682cd /src/gui/chat.cpp | |
parent | cf0f74488b0f2057bc535774dc6a2c871311932f (diff) | |
download | mana-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.tar.gz mana-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.tar.bz2 mana-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.tar.xz mana-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.zip |
Got rid of writeSet() calls.
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r-- | src/gui/chat.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 3ef6703c..70b39ae3 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -34,7 +34,6 @@ #include "../log.h" #include "../net/messageout.h" -#include "../net/network.h" #include "../net/protocol.h" ChatWindow::ChatWindow(const std::string &logfile): @@ -222,7 +221,6 @@ char *ChatWindow::chat_send(std::string nick, std::string msg) outMsg.writeShort(packetId); outMsg.writeShort(msg.length() + 4); outMsg.writeString(msg, msg.length()); - writeSet(msg.length() + 4); return ""; } |