1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 14:33:13 +02:00

Fixed Windows build

This commit is contained in:
Adam
2010-09-08 16:23:16 -04:00
parent bd94cbc25b
commit f4a0ee30b3
4 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ void MailEnd(MailInfo * mail)
return;
}
#ifdef HAVE_FORK
#if HAVE_FORK
if (ForkForMail && !(pid = fork()))
{
pclose(mail->pipe);
+16 -2
View File
@@ -48,7 +48,21 @@ static int16 get_new_statusmode()
if (last_mode == CUS_DEOPPED)
last_mode = last_mode << 1; // get around CUS_DEOPPED
return last_mode;
};
}
uint32 get_mode_from_char(const char c)
{
struct chmodeinfo *p = chmodes;
while (p->modechar != 0)
{
if (p->modechar == c)
return p->mode;
++p;
}
return 0;
}
static char flood_mode_set[3];
static char flood_mode_unset[3];
@@ -233,7 +247,7 @@ char myCsmodes[128] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
};
static inline char sym_from_char(const char c)
static char sym_from_char(const char c)
{
int i;
for (i = 0; i < 128; ++i)
-14
View File
@@ -110,20 +110,6 @@ struct chmodeinfo
{0, 0}
};
inline uint32 get_mode_from_char(const char c)
{
struct chmodeinfo *p = chmodes;
while (p->modechar != 0)
{
if (p->modechar == c)
return p->mode;
++p;
}
return 0;
}
void inspircd_set_umode(User * user, int ac, char **av);
void inspircd_cmd_svsnoop(char *server, int set);
void inspircd_cmd_remove_akill(char *user, char *host);
+1 -1
View File
@@ -8,7 +8,7 @@ VERSION_MAJOR="1"
VERSION_MINOR="8"
VERSION_PATCH="4"
VERSION_EXTRA="-git"
VERSION_BUILD="3032"
VERSION_BUILD="3033"
# $Log$ # Changes since the 1.8.4 Release
#Revision 3031 - Added InspIRCd 2.0 support