Staging for Elemental-IRCd 6.6 release
This commit is contained in:
parent
19d656a29b
commit
990a42b71b
15
CREDITS
15
CREDITS
|
@ -1,14 +1,23 @@
|
||||||
$Id: CREDITS 3133 2007-01-21 15:38:16Z jilles $
|
$Id: CREDITS 3133 2007-01-21 15:38:16Z jilles $
|
||||||
|
|
||||||
elemental-ircd is a fork of the ShadowIRCD project created to meet
|
Elemental-IRCd is a fork of the now-defunct ShadowIRCD project.
|
||||||
|
|
||||||
|
The Elemental-IRCd team is listed below in nick-alphabetical order:
|
||||||
|
|
||||||
|
Xena, Sam Dodrill <shadowh511 -at- gmail.com>
|
||||||
|
|
||||||
|
Some Elemental-IRCd features are modeled after or direct ports of
|
||||||
|
code from Charybdis.
|
||||||
|
|
||||||
|
ponychat-ircd is a fork of the ShadowIRCD project created to meet
|
||||||
PonyChat's needs and keep the now-defunct ShadowIRCD project's goals
|
PonyChat's needs and keep the now-defunct ShadowIRCD project's goals
|
||||||
alive.
|
alive.
|
||||||
|
|
||||||
The elemental-ircd team is listed in nick-alphabetical order:
|
The ponychat-ircd team is listed in nick-alphabetical order:
|
||||||
|
|
||||||
aji, Alex Iadicico <alex -at- ajitek.net>
|
aji, Alex Iadicico <alex -at- ajitek.net>
|
||||||
lyska, Sam Dodrill <shadowh511 -at- gmail.com>>
|
|
||||||
Kabaka, Kyle Johnson <kabaka -at- ponychat.net>
|
Kabaka, Kyle Johnson <kabaka -at- ponychat.net>
|
||||||
|
Xe, Sam Dodrill <shadowh511 -at- gmail.com>
|
||||||
|
|
||||||
ShadowIRCd 6 is a modern restart of the old ShadowIRCd project
|
ShadowIRCd 6 is a modern restart of the old ShadowIRCd project
|
||||||
based on Charybdis with a few additional features to make it appeal
|
based on Charybdis with a few additional features to make it appeal
|
||||||
|
|
33
NEWS
33
NEWS
|
@ -1,6 +1,39 @@
|
||||||
This is elemental-ircd 6.5, Copyright (c) 2013 elemental-ircd team.
|
This is elemental-ircd 6.5, Copyright (c) 2013 elemental-ircd team.
|
||||||
See LICENSE for licensing details (GPL v2).
|
See LICENSE for licensing details (GPL v2).
|
||||||
|
|
||||||
|
-- elemental-ircd 6.6
|
||||||
|
|
||||||
|
additions
|
||||||
|
- add OWNER=y to 005
|
||||||
|
- add autoconfigure script like unrealircd
|
||||||
|
- add channel mode +u to hide banlists unless users have halfop or up
|
||||||
|
- add modules for services packages
|
||||||
|
- add quotes around PART reason
|
||||||
|
- add umode +I to hide channels line from WHOIS
|
||||||
|
- make end-user /OPER failures much more generic
|
||||||
|
- make flooding SNOTEs global
|
||||||
|
- show own modes in whois
|
||||||
|
- show remote server IP addresses
|
||||||
|
- update helpfiles to have much more up to date information
|
||||||
|
|
||||||
|
bugfixes
|
||||||
|
- don't strip unicode in strip_unprintable
|
||||||
|
- fix extended-join for remote users
|
||||||
|
- fix null reference in away-notify
|
||||||
|
- make genssl.sh generate ten year certs
|
||||||
|
|
||||||
|
removals
|
||||||
|
- remove away-notify
|
||||||
|
- remove AHBL from default configs
|
||||||
|
- remove m_post SNOTEs because of an upstream change
|
||||||
|
|
||||||
|
The official channel for Elemental-IRCd is now #elemental-ircd on
|
||||||
|
irc.yolo-swag.com.
|
||||||
|
|
||||||
|
-- elemental-ircd 6.5.1
|
||||||
|
|
||||||
|
Rename to Elemental-IRCd
|
||||||
|
|
||||||
-- ponychat-ircd 6.5
|
-- ponychat-ircd 6.5
|
||||||
|
|
||||||
additions
|
additions
|
||||||
|
|
|
@ -1,22 +1,6 @@
|
||||||
# TODO
|
# TODO
|
||||||
|
|
||||||
## elemental-ircd 6.5.2
|
## elemental-ircd 6.7
|
||||||
|
|
||||||
- [ ] Fix `extended-join` not triggering for users on other servers
|
|
||||||
- [x] Patch `m_sasl`, http://seclists.org/fulldisclosure/2014/Mar/320
|
|
||||||
- [x] Fix null reference in `src/channel.c`
|
|
||||||
- [x] Add basic autoconfiguration script
|
|
||||||
- [x] Add modules for services packages
|
|
||||||
- [x] Make end user oper failures more generic
|
|
||||||
- [x] Add `OWNER=` to `005`
|
|
||||||
- [x] Show own modes in a `WHOIS`
|
|
||||||
- [x] Remove AHBL blacklists from default configs
|
|
||||||
- [x] Remove `SNOTE`s in `m_post`
|
|
||||||
- [x] Make flooding `SNOTE`s global
|
|
||||||
- [x] Add quotes around `PART` reason
|
|
||||||
- [x] Disable `away-notify` for now
|
|
||||||
|
|
||||||
## elemental-ircd 6.6
|
|
||||||
|
|
||||||
- [ ] Finish websocket support
|
- [ ] Finish websocket support
|
||||||
- [x] Configuration for websocket ports
|
- [x] Configuration for websocket ports
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.69 for elemental-ircd 6.5.1.
|
# Generated by GNU Autoconf 2.69 for elemental-ircd 6.6.
|
||||||
#
|
#
|
||||||
# 2014 elemental-ircd Team
|
# 2014 elemental-ircd Team
|
||||||
#
|
#
|
||||||
|
@ -579,8 +579,8 @@ MAKEFLAGS=
|
||||||
# Identity of this package.
|
# Identity of this package.
|
||||||
PACKAGE_NAME='elemental-ircd'
|
PACKAGE_NAME='elemental-ircd'
|
||||||
PACKAGE_TARNAME='elemental-ircd'
|
PACKAGE_TARNAME='elemental-ircd'
|
||||||
PACKAGE_VERSION='6.5.1'
|
PACKAGE_VERSION='6.6'
|
||||||
PACKAGE_STRING='elemental-ircd 6.5.1'
|
PACKAGE_STRING='elemental-ircd 6.6'
|
||||||
PACKAGE_BUGREPORT=''
|
PACKAGE_BUGREPORT=''
|
||||||
PACKAGE_URL=''
|
PACKAGE_URL=''
|
||||||
|
|
||||||
|
@ -1303,7 +1303,7 @@ if test "$ac_init_help" = "long"; then
|
||||||
# Omit some internal or obsolete options to make the list less imposing.
|
# Omit some internal or obsolete options to make the list less imposing.
|
||||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||||
cat <<_ACEOF
|
cat <<_ACEOF
|
||||||
\`configure' configures elemental-ircd 6.5.1 to adapt to many kinds of systems.
|
\`configure' configures elemental-ircd 6.6 to adapt to many kinds of systems.
|
||||||
|
|
||||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||||
|
|
||||||
|
@ -1364,7 +1364,7 @@ fi
|
||||||
|
|
||||||
if test -n "$ac_init_help"; then
|
if test -n "$ac_init_help"; then
|
||||||
case $ac_init_help in
|
case $ac_init_help in
|
||||||
short | recursive ) echo "Configuration of elemental-ircd 6.5.1:";;
|
short | recursive ) echo "Configuration of elemental-ircd 6.6:";;
|
||||||
esac
|
esac
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
|
|
||||||
|
@ -1488,7 +1488,7 @@ fi
|
||||||
test -n "$ac_init_help" && exit $ac_status
|
test -n "$ac_init_help" && exit $ac_status
|
||||||
if $ac_init_version; then
|
if $ac_init_version; then
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
elemental-ircd configure 6.5.1
|
elemental-ircd configure 6.6
|
||||||
generated by GNU Autoconf 2.69
|
generated by GNU Autoconf 2.69
|
||||||
|
|
||||||
Copyright (C) 2012 Free Software Foundation, Inc.
|
Copyright (C) 2012 Free Software Foundation, Inc.
|
||||||
|
@ -2092,7 +2092,7 @@ cat >config.log <<_ACEOF
|
||||||
This file contains any messages produced by compilers while
|
This file contains any messages produced by compilers while
|
||||||
running configure, to aid debugging if configure makes a mistake.
|
running configure, to aid debugging if configure makes a mistake.
|
||||||
|
|
||||||
It was created by elemental-ircd $as_me 6.5.1, which was
|
It was created by elemental-ircd $as_me 6.6, which was
|
||||||
generated by GNU Autoconf 2.69. Invocation command line was
|
generated by GNU Autoconf 2.69. Invocation command line was
|
||||||
|
|
||||||
$ $0 $@
|
$ $0 $@
|
||||||
|
@ -10100,7 +10100,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
||||||
# report actual input values of CONFIG_FILES etc. instead of their
|
# report actual input values of CONFIG_FILES etc. instead of their
|
||||||
# values after options handling.
|
# values after options handling.
|
||||||
ac_log="
|
ac_log="
|
||||||
This file was extended by elemental-ircd $as_me 6.5.1, which was
|
This file was extended by elemental-ircd $as_me 6.6, which was
|
||||||
generated by GNU Autoconf 2.69. Invocation command line was
|
generated by GNU Autoconf 2.69. Invocation command line was
|
||||||
|
|
||||||
CONFIG_FILES = $CONFIG_FILES
|
CONFIG_FILES = $CONFIG_FILES
|
||||||
|
@ -10166,7 +10166,7 @@ _ACEOF
|
||||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
||||||
ac_cs_version="\\
|
ac_cs_version="\\
|
||||||
elemental-ircd config.status 6.5.1
|
elemental-ircd config.status 6.6
|
||||||
configured by $0, generated by GNU Autoconf 2.69,
|
configured by $0, generated by GNU Autoconf 2.69,
|
||||||
with options \\"\$ac_cs_config\\"
|
with options \\"\$ac_cs_config\\"
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ AC_PREREQ(2.57)
|
||||||
dnl Sneaky way to get an Id tag into the configure script
|
dnl Sneaky way to get an Id tag into the configure script
|
||||||
AC_COPYRIGHT([2014 elemental-ircd Team])
|
AC_COPYRIGHT([2014 elemental-ircd Team])
|
||||||
|
|
||||||
AC_INIT([elemental-ircd],[6.5.1])
|
AC_INIT([elemental-ircd],[6.6])
|
||||||
|
|
||||||
AC_CONFIG_HEADER(include/setup.h)
|
AC_CONFIG_HEADER(include/setup.h)
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
* Copyright (C) 2000-2002 Hybrid Development Team
|
* Copyright (C) 2000-2002 Hybrid Development Team
|
||||||
* Copyright (C) 2002-2005 ircd-ratbox development team
|
* Copyright (C) 2002-2005 ircd-ratbox development team
|
||||||
* Copyright (C) 2005-2006 charybdis development team
|
* Copyright (C) 2005-2006 charybdis development team
|
||||||
|
* Copyright (C) 2014 Elemental-IRCd development team
|
||||||
*
|
*
|
||||||
* $Id: example.conf 3582 2007-11-17 21:55:48Z jilles $
|
* $Id: example.conf 3582 2007-11-17 21:55:48Z jilles $
|
||||||
*
|
*
|
||||||
|
@ -47,10 +48,10 @@ loadmodule "extensions/sno_globaloper.so";
|
||||||
#loadmodule "extensions/sno_whois.so";
|
#loadmodule "extensions/sno_whois.so";
|
||||||
|
|
||||||
serverinfo {
|
serverinfo {
|
||||||
name = "hades.arpa";
|
name = "hostname.domain.tld";
|
||||||
sid = "42X";
|
sid = "42X";
|
||||||
description = "shadowircd test server";
|
description = "elemental-ircd test server";
|
||||||
network_name = "AthemeNET";
|
network_name = "ShadowNET";
|
||||||
network_desc = "Your IRC network.";
|
network_desc = "Your IRC network.";
|
||||||
helpchan = "#help";
|
helpchan = "#help";
|
||||||
helpurl = "http://www.mynet.net/help";
|
helpurl = "http://www.mynet.net/help";
|
||||||
|
@ -90,7 +91,7 @@ serverinfo {
|
||||||
|
|
||||||
admin {
|
admin {
|
||||||
name = "Lazy admin (lazya)";
|
name = "Lazy admin (lazya)";
|
||||||
description = "AthemeNET client server";
|
description = "ShadowNET client server";
|
||||||
email = "nobody@127.0.0.1";
|
email = "nobody@127.0.0.1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -139,7 +140,8 @@ listen {
|
||||||
/* defer_accept: wait for clients to send IRC handshake data before
|
/* defer_accept: wait for clients to send IRC handshake data before
|
||||||
* accepting them. if you intend to use software which depends on the
|
* accepting them. if you intend to use software which depends on the
|
||||||
* server replying first, such as BOPM, you should disable this feature.
|
* server replying first, such as BOPM, you should disable this feature.
|
||||||
* otherwise, you probably want to leave it on.
|
* otherwise, you probably want to leave it on. Disabling this will not
|
||||||
|
* update on a rehash.
|
||||||
*/
|
*/
|
||||||
defer_accept = yes;
|
defer_accept = yes;
|
||||||
|
|
||||||
|
@ -425,7 +427,7 @@ serverhide {
|
||||||
* They are used in pairs of one host/rejection reason.
|
* They are used in pairs of one host/rejection reason.
|
||||||
*
|
*
|
||||||
* These settings should be adequate for most networks, and are (presently)
|
* These settings should be adequate for most networks, and are (presently)
|
||||||
* required for use on AthemeNet.
|
* required for use on ShadowNet.
|
||||||
*
|
*
|
||||||
* Word to the wise: Do not use blacklists like SPEWS for blocking IRC
|
* Word to the wise: Do not use blacklists like SPEWS for blocking IRC
|
||||||
* connections.
|
* connections.
|
||||||
|
@ -526,7 +528,7 @@ general {
|
||||||
|
|
||||||
default_operstring = "is an IRC Operator";
|
default_operstring = "is an IRC Operator";
|
||||||
default_adminstring = "is a Server Administrator";
|
default_adminstring = "is a Server Administrator";
|
||||||
default_operhost = "staff.testnet.net";
|
#default_operhost = "staff.testnet.net";
|
||||||
#static_quit = "I like turtles!";
|
#static_quit = "I like turtles!";
|
||||||
servicestring = "is a Network Service";
|
servicestring = "is a Network Service";
|
||||||
disable_fake_channels = no;
|
disable_fake_channels = no;
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
This is ShadowIRCd MOTD. You might replace it, but if not, your friends will
|
This is the Elemental-IRCd MOTD. You can use this if you like;
|
||||||
laugh at you.
|
but if you do, your teacher may send you to magic kindergarten.
|
||||||
|
|
|
@ -53,6 +53,7 @@ SRCS = \
|
||||||
force_user_invis.c \
|
force_user_invis.c \
|
||||||
hurt.c \
|
hurt.c \
|
||||||
ip_cloaking.c \
|
ip_cloaking.c \
|
||||||
|
ip_cloaking-5.c \
|
||||||
sno_farconnect.c \
|
sno_farconnect.c \
|
||||||
sno_globalkline.c \
|
sno_globalkline.c \
|
||||||
sno_globaloper.c \
|
sno_globaloper.c \
|
||||||
|
|
|
@ -0,0 +1,169 @@
|
||||||
|
/*
|
||||||
|
* Charybdis: an advanced ircd
|
||||||
|
* ip_cloaking.c: provide user hostname cloaking
|
||||||
|
*
|
||||||
|
* Written originally by nenolod, altered to use FNV by Elizabeth in 2008
|
||||||
|
* altered some more by groente
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <openssl/hmac.h>
|
||||||
|
#include "stdinc.h"
|
||||||
|
#include "modules.h"
|
||||||
|
#include "hook.h"
|
||||||
|
#include "client.h"
|
||||||
|
#include "ircd.h"
|
||||||
|
#include "send.h"
|
||||||
|
#include "hash.h"
|
||||||
|
#include "s_conf.h"
|
||||||
|
#include "s_user.h"
|
||||||
|
#include "s_serv.h"
|
||||||
|
#include "numeric.h"
|
||||||
|
#include "newconf.h"
|
||||||
|
|
||||||
|
char *secretsalt = "32qwnqoWI@DpMd&w";
|
||||||
|
|
||||||
|
static void
|
||||||
|
conf_set_secretsalt(void *data)
|
||||||
|
{
|
||||||
|
secretsalt = rb_strdup(data);
|
||||||
|
}
|
||||||
|
|
||||||
|
static int
|
||||||
|
_modinit(void)
|
||||||
|
{
|
||||||
|
/* add the usermode to the available slot */
|
||||||
|
user_modes['x'] = find_umode_slot();
|
||||||
|
construct_umodebuf();
|
||||||
|
|
||||||
|
add_top_conf("cloaking", NULL, NULL, NULL);
|
||||||
|
add_conf_item("cloaking", "secretsalt", CF_QSTRING, conf_set_secretsalt);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
_moddeinit(void)
|
||||||
|
{
|
||||||
|
/* disable the umode and remove it from the available list */
|
||||||
|
user_modes['x'] = 0;
|
||||||
|
construct_umodebuf();
|
||||||
|
|
||||||
|
add_top_conf("cloaking", NULL, NULL, NULL);
|
||||||
|
add_conf_item("cloaking", "secretsalt", CF_QSTRING, conf_set_secretsalt);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void check_umode_change(void *data);
|
||||||
|
static void check_new_user(void *data);
|
||||||
|
mapi_hfn_list_av1 ip_cloaking_hfnlist[] = {
|
||||||
|
{ "umode_changed", (hookfn) check_umode_change },
|
||||||
|
{ "new_local_user", (hookfn) check_new_user },
|
||||||
|
{ NULL, NULL }
|
||||||
|
};
|
||||||
|
|
||||||
|
DECLARE_MODULE_AV1(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
|
||||||
|
ip_cloaking_hfnlist, "$Revision: 3526 $");
|
||||||
|
|
||||||
|
static void
|
||||||
|
distribute_hostchange(struct Client *client_p, char *newhost)
|
||||||
|
{
|
||||||
|
if (newhost != client_p->orighost)
|
||||||
|
sendto_one_numeric(client_p, RPL_HOSTHIDDEN, "%s :is now your hidden host",
|
||||||
|
newhost);
|
||||||
|
else
|
||||||
|
sendto_one_numeric(client_p, RPL_HOSTHIDDEN, "%s :hostname reset",
|
||||||
|
newhost);
|
||||||
|
|
||||||
|
sendto_server(NULL, NULL,
|
||||||
|
CAP_EUID | CAP_TS6, NOCAPS, ":%s CHGHOST %s :%s",
|
||||||
|
use_id(&me), use_id(client_p), newhost);
|
||||||
|
sendto_server(NULL, NULL,
|
||||||
|
CAP_TS6, CAP_EUID, ":%s ENCAP * CHGHOST %s :%s",
|
||||||
|
use_id(&me), use_id(client_p), newhost);
|
||||||
|
|
||||||
|
change_nick_user_host(client_p, client_p->name, client_p->username, newhost, 0, "Changing host");
|
||||||
|
|
||||||
|
if (newhost != client_p->orighost)
|
||||||
|
SetDynSpoof(client_p);
|
||||||
|
else
|
||||||
|
ClearDynSpoof(client_p);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
do_host_cloak(const char *inbuf, char *outbuf)
|
||||||
|
{
|
||||||
|
unsigned char *hash;
|
||||||
|
char buf[3];
|
||||||
|
char output[HOSTLEN+1];
|
||||||
|
int i;
|
||||||
|
|
||||||
|
hash = HMAC(EVP_sha256(), secretsalt, strlen(secretsalt), (unsigned char*)inbuf, strlen(inbuf), NULL, NULL);
|
||||||
|
|
||||||
|
output[0]=0;
|
||||||
|
|
||||||
|
for (i = 0; i < 32; i++) {
|
||||||
|
sprintf(buf, "%.2x", hash[i]);
|
||||||
|
strcat(output,buf);
|
||||||
|
}
|
||||||
|
|
||||||
|
rb_strlcpy(outbuf,output,HOSTLEN+1);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
check_umode_change(void *vdata)
|
||||||
|
{
|
||||||
|
hook_data_umode_changed *data = (hook_data_umode_changed *)vdata;
|
||||||
|
struct Client *source_p = data->client;
|
||||||
|
|
||||||
|
if (!MyClient(source_p))
|
||||||
|
return;
|
||||||
|
|
||||||
|
/* didn't change +h umode, we don't need to do anything */
|
||||||
|
if (!((data->oldumodes ^ source_p->umodes) & user_modes['x']))
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (source_p->umodes & user_modes['h'])
|
||||||
|
{
|
||||||
|
if (IsIPSpoof(source_p) || source_p->localClient->mangledhost == NULL || (IsDynSpoof(source_p) && strcmp(source_p->host, source_p->localClient->mangledhost)))
|
||||||
|
{
|
||||||
|
source_p->umodes &= ~user_modes['x'];
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (strcmp(source_p->host, source_p->localClient->mangledhost))
|
||||||
|
{
|
||||||
|
distribute_hostchange(source_p, source_p->localClient->mangledhost);
|
||||||
|
}
|
||||||
|
else /* not really nice, but we need to send this numeric here */
|
||||||
|
sendto_one_numeric(source_p, RPL_HOSTHIDDEN, "%s :is now your hidden host",
|
||||||
|
source_p->host);
|
||||||
|
}
|
||||||
|
else if (!(source_p->umodes & user_modes['x']))
|
||||||
|
{
|
||||||
|
if (source_p->localClient->mangledhost != NULL &&
|
||||||
|
!strcmp(source_p->host, source_p->localClient->mangledhost))
|
||||||
|
{
|
||||||
|
distribute_hostchange(source_p, source_p->orighost);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
check_new_user(void *vdata)
|
||||||
|
{
|
||||||
|
struct Client *source_p = (void *)vdata;
|
||||||
|
|
||||||
|
if (IsIPSpoof(source_p))
|
||||||
|
{
|
||||||
|
source_p->umodes &= ~user_modes['x'];
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
source_p->localClient->mangledhost = rb_malloc(HOSTLEN + 1);
|
||||||
|
do_host_cloak(source_p->orighost, source_p->localClient->mangledhost);
|
||||||
|
if (IsDynSpoof(source_p))
|
||||||
|
source_p->umodes &= ~user_modes['x'];
|
||||||
|
if (source_p->umodes & user_modes['x'])
|
||||||
|
{
|
||||||
|
rb_strlcpy(source_p->host, source_p->localClient->mangledhost, sizeof(source_p->host));
|
||||||
|
if (irccmp(source_p->host, source_p->orighost))
|
||||||
|
SetDynSpoof(source_p);
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -60,6 +60,9 @@
|
||||||
/* Define to 1 if you have the `gmtime_r' function. */
|
/* Define to 1 if you have the `gmtime_r' function. */
|
||||||
#undef HAVE_GMTIME_R
|
#undef HAVE_GMTIME_R
|
||||||
|
|
||||||
|
/* Has GnuTLS */
|
||||||
|
#undef HAVE_GNUTLS
|
||||||
|
|
||||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
#undef HAVE_INTTYPES_H
|
#undef HAVE_INTTYPES_H
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue