1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 01:43:12 +02:00

Fix MODVAR stuff on Windows. Fixes a crash.

This commit is contained in:
Bram Matthys
2015-06-28 10:41:49 +02:00
parent f0be219f98
commit 1a1ef4d0d3
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -711,7 +711,7 @@ extern char *unreal_time_synch_error(void);
extern int unreal_time_synch(int timeout);
extern int extban_is_banned_helper(char *buf);
extern char *getcloak(aClient *sptr);
extern unsigned char param_to_slot_mapping[256];
extern MODVAR unsigned char param_to_slot_mapping[256];
extern char *cm_getparameter(aChannel *chptr, char mode);
extern void cm_putparameter(aChannel *chptr, char mode, char *str);
extern void cm_freeparameter(aChannel *chptr, char mode);
@@ -753,6 +753,6 @@ extern char *our_strcasestr(char *haystack, char *needle);
extern void update_conf(void);
extern MODVAR int need_34_upgrade;
#ifdef _WIN32
extern BOOL IsService;
extern MODVAR BOOL IsService;
#endif
extern int match_ip46(char *a, char *b);
+1 -1
View File
@@ -45,7 +45,7 @@
extern char cmodestring[512];
/* Channel parameter to slot# mapping */
unsigned char param_to_slot_mapping[256];
MODVAR unsigned char param_to_slot_mapping[256];
extern void make_cmodestr(void);
+1 -1
View File
@@ -104,7 +104,7 @@ extern SERVICE_STATUS_HANDLE IRCDStatusHandle;
extern SERVICE_STATUS IRCDStatus;
#endif
unsigned char conf_debuglevel = 0;
MODVAR unsigned char conf_debuglevel = 0;
#ifdef USE_LIBCURL
extern void url_init(void);
+1 -1
View File
@@ -33,7 +33,7 @@ SERVICE_STATUS_HANDLE IRCDStatusHandle;
/* Signal to rehash */
#define IRCD_SERVICE_CONTROL_REHASH 128
BOOL IsService = FALSE;
MODVAR BOOL IsService = FALSE;
extern OSVERSIONINFO VerInfo;
#define WIN32_VERSION BASE_VERSION PATCH1 PATCH2 PATCH3 PATCH4 PATCH5