From 248a14477c435ef28b71df42080ec931b1003e3f Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 1 Sep 2009 15:08:09 +0000 Subject: Remove unneeded #ifdef IPV6 lines git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11582 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'include/modules.h') diff --git a/include/modules.h b/include/modules.h index 932ef3d19..f6678e931 100644 --- a/include/modules.h +++ b/include/modules.h @@ -76,18 +76,8 @@ enum MessageType { MSG_NOTICE = 1 }; -/** If you change the module API, change this value. - * If you have enabled ipv6, the sizes of structs is - * different, and modules will be incompatible with - * ipv4 servers, so this value will be ten times as - * high on ipv6 servers. - */ -#define NATIVE_API_VERSION 12000 -#ifdef IPV6 -#define API_VERSION (NATIVE_API_VERSION * 10) -#else -#define API_VERSION (NATIVE_API_VERSION * 1) -#endif +/** If you change the module API, change this value. */ +#define API_VERSION 13000 class ServerConfig; -- cgit v1.2.3