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

- Applied patch to fix some win32 problems reported by Bock, fixed by fez

This commit is contained in:
stskeeps
2007-06-27 10:54:51 +00:00
parent a705ceaa86
commit dad8477cb3
4 changed files with 11 additions and 3 deletions
+1
View File
@@ -1513,3 +1513,4 @@
a new fight with debian-legal again?)
- #0003244 reported by CuLpA about grammar errors in webtv outputs
- Entering 3.2.7 RC1 phase
- Applied patch to fix some win32 problems reported by Bock, fixed by fez
+2 -1
View File
@@ -146,14 +146,15 @@ DLLFUNC int m_chghost(aClient *cptr, aClient *sptr, int parc, char *parv[])
if ((acptr = find_person(parv[1], NULL)))
{
DYN_LOCAL(char, did_parts, acptr->user->joined);
if (MyClient(sptr) && (IsLocOp(sptr) && !MyClient(acptr)))
{
sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name,
parv[0]);
DYN_FREE(did_parts);
return 0;
}
DYN_LOCAL(char, did_parts, acptr->user->joined);
if (!strcmp(GetHost(acptr), parv[2]))
{
sendnotice(sptr, "*** /ChgHost Error: requested host is same as current host.");
+2 -1
View File
@@ -158,14 +158,15 @@ int legalident = 1;
if ((acptr = find_person(parv[1], NULL)))
{
DYN_LOCAL(char, did_parts, acptr->user->joined);
if (MyClient(sptr) && (IsLocOp(sptr) && !MyClient(acptr)))
{
sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name,
parv[0]);
DYN_FREE(did_parts);
return 0;
}
DYN_LOCAL(char, did_parts, acptr->user->joined);
switch (UHOST_ALLOWED)
{
case UHALLOW_NEVER:
+6 -1
View File
@@ -66,6 +66,12 @@ struct tm smotd_tm;
aMotd *read_file(char *filename, aMotd **list);
aMotd *read_file_ex(char *filename, aMotd **list, struct tm *);
extern aMotd *Find_file(char *, short);
#ifdef USE_SSL
extern void reinit_ssl(aClient *);
#endif
/*
** m_functions execute protocol messages on this server:
** CMD_FUNC(functionname) causes it to use the header
@@ -675,7 +681,6 @@ CMD_FUNC(m_rehash)
if (!_match("-ssl*", parv[1]))
{
#ifdef USE_SSL
extern void reinit_ssl(aClient *);
reinit_ssl(sptr);
#else
sendnotice(sptr, "SSL is not enabled on this server");