summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/enums/resources/servercommandtype.h2
-rw-r--r--src/resources/db/groupdb.cpp1
-rw-r--r--src/resources/servercommands.inc2
3 files changed, 5 insertions, 0 deletions
diff --git a/src/enums/resources/servercommandtype.h b/src/enums/resources/servercommandtype.h
index a22408709..5035595f5 100644
--- a/src/enums/resources/servercommandtype.h
+++ b/src/enums/resources/servercommandtype.h
@@ -38,4 +38,6 @@ enumEnd(ServerCommandType);
#undef servercommand
#undef servercommand2
+SERVERCOMMANDS_VOID
+
#endif // ENUMS_RESOURCES_SERVERCOMMANDTYPE_H
diff --git a/src/resources/db/groupdb.cpp b/src/resources/db/groupdb.cpp
index b2e1ca011..fc61033cc 100644
--- a/src/resources/db/groupdb.cpp
+++ b/src/resources/db/groupdb.cpp
@@ -73,6 +73,7 @@ static ServerCommandTypeT parseCommand(const std::string &str,
return ServerCommandType::Max;
}
+SERVERCOMMANDS_VOID
#undef servercommandFirst
#undef servercommand
#undef servercommand2
diff --git a/src/resources/servercommands.inc b/src/resources/servercommands.inc
index a8c9efa5b..0089934e5 100644
--- a/src/resources/servercommands.inc
+++ b/src/resources/servercommands.inc
@@ -18,6 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#define SERVERCOMMANDS_VOID
+
// Hercules commands
servercommandFirst(warp)
servercommand(where)