]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/serverlist.h
FIx wrong error message on invalid use of the formspec element image_button
[dragonfireclient.git] / src / serverlist.h
index d01415c504c845496fdbb58214cd1ff559c5477d..365e86beb6e4242ba2110fc40429c6e8ccb34a50 100644 (file)
@@ -19,6 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 #include <iostream>
 #include "config.h"
+#include "mods.h"
 #include "json/json.h"
 
 #ifndef SERVERLIST_HEADER
@@ -39,7 +40,7 @@ namespace ServerList
        std::vector<ServerListSpec> deSerializeJson(std::string liststring);
        std::string serializeJson(std::vector<ServerListSpec>);
        #if USE_CURL
-       void sendAnnounce(std::string action = "", u16 clients = 0, double uptime = 0, std::string gameid = "");
+       void sendAnnounce(std::string action = "", u16 clients = 0, double uptime = 0, std::string gameid = "", std::vector<ModSpec> m_mods = std::vector<ModSpec>());
        #endif
 } //ServerList namespace