summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 0db774ada..6be14ee16 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -64,6 +64,7 @@
#include "net/gamehandler.h"
#include "net/guildhandler.h"
#include "net/net.h"
+#include "net/uploadcharinfo.h"
#include "net/partyhandler.h"
#include "net/pethandler.h"
#include "net/tradehandler.h"
@@ -1286,23 +1287,6 @@ impHandler1(gm)
Net::getChatHandler()->talk("@wgm " + args, GENERAL_CHANNEL);
}
-struct UploadChatInfo
-{
- UploadChatInfo() :
- tab(nullptr),
- upload(nullptr),
- text(),
- addStr()
- { }
-
- A_DELETE_COPY(UploadChatInfo)
-
- ChatTab *tab;
- Net::Download *upload;
- std::string text;
- std::string addStr;
-};
-
static int uploadUpdate(void *ptr,
DownloadStatus::Type status,
size_t total A_UNUSED,