Wow. HUGE update. Update all headers to reflect NeoIRCD. aliases for services implemented
config file parsing updated, and modified example.conf to be compatible.
This commit is contained in:
parent
bfa8da36f2
commit
580ea66a45
192 changed files with 7776 additions and 3981 deletions
.gitattributesChangeLogNeoStats-teamTODO
autoconf
configuredoc
include
Makefile.inballoc.hchannel.hchannel_mode.hclass.hclient.hcommon.hconfig.hconfig.h.distdefaults.hevent.hfdlist.hfileio.hhandlers.hhash.hhook.hhostmask.hirc_string.hircd.hircd_defs.hircd_getopt.hircd_handler.hircd_signal.hircdauth.hlinebuf.hlist.hlistener.hm_info.hm_kline.hmd5.hmemory.hmodules.hmotd.hmsg.hnumeric.hpacket.hparse.hpatchlevel.hres.hrestart.hresv.hrsa.hs_auth.hs_bsd.hs_conf.hs_debug.hs_gline.hs_log.hs_misc.hs_serv.hs_stats.hs_user.hs_zip.hscache.hsend.hsetup.h.insprintf_irc.hstdinc.hsupported.htools.hwhowas.h
modules
4
.gitattributes
vendored
4
.gitattributes
vendored
|
@ -3,10 +3,10 @@
|
|||
/.indent.pro -text
|
||||
/BUGS -text
|
||||
/ChangeLog -text
|
||||
/Hybrid-team -text
|
||||
/INSTALL -text
|
||||
/LICENSE -text
|
||||
/Makefile.in -text
|
||||
/NeoStats-team -text
|
||||
/README.FIRST -text
|
||||
/README.PLATFORMS -text
|
||||
/README.VMS -text
|
||||
|
@ -85,6 +85,7 @@ doc/modes.txt -text
|
|||
doc/old/Authors -text
|
||||
doc/old/ChangeLog-Hybrid7Rc1 -text
|
||||
doc/old/Etiquette -text
|
||||
doc/old/Hybrid-team -text
|
||||
doc/old/README -text
|
||||
doc/old/US-Admin/Networking -text
|
||||
doc/old/US-Admin/Operators -text
|
||||
|
@ -336,6 +337,7 @@ modules/core/m_squit.c -text
|
|||
modules/descrip.mms -text
|
||||
modules/m_accept.c -text
|
||||
modules/m_admin.c -text
|
||||
modules/m_alias.c -text
|
||||
modules/m_away.c -text
|
||||
modules/m_capab.c -text
|
||||
modules/m_cburst.c -text
|
||||
|
|
|
@ -6,7 +6,7 @@ Symbols are:
|
|||
(HP) - Hybrid Team Patches to Hybrid Source
|
||||
|
||||
|
||||
* NeoIRCd Version 1.0 - 12th August, 2002 - Fish
|
||||
* NeoIRCd Version 0.9.1 - 12th August, 2002 - Fish
|
||||
(F) - Added +S UserMode. For Services. Allow them to override anything
|
||||
(F) - Added Ulined Support (In Addition to whats already there) to allow it to override anything
|
||||
(F) - Added Dynamic U lines. Means a
|
||||
|
@ -35,3 +35,9 @@ Symbols are:
|
|||
(F) - No more need for 3 opers to vote on a Gline. One oper does it now.
|
||||
(F) - Moved ungline to m_gline, and unkline, undline to m_kline. removed m_unkline now.
|
||||
(F) - Added /vhost as a alias for hostserv (From NeoStats). Have to get Shmad to update hostserv. (:fish PRIVMSG HostServ!services@stats.dynam.ac :login username password) is the syntax.
|
||||
(F) - Added /nickserv /chanserv /hostserv /operserv /identify /statserv as aliases for the respective services
|
||||
(F) - Fixed up the config file parsing for the reduantant commands
|
||||
(F) - Changed all the headers to reflect this is NeoIRCd and not Hybrid7 any more
|
||||
(F) - Fixed up /credits and /info
|
||||
(F) - Started to clean up Documentation
|
||||
(F) - This is version 0.9.1 Getting ready for Beta testing by Closed group.
|
||||
|
|
36
NeoStats-team
Normal file
36
NeoStats-team
Normal file
|
@ -0,0 +1,36 @@
|
|||
$Id: NeoStats-team,v 1.1 2002/09/13 06:50:04 fishwaldo Exp $
|
||||
|
||||
The NeoStats team is a group of IRC coders who aim to provide a
|
||||
complete set of IRC Services for IRC networks. Currently, our
|
||||
prime software package is NeoStats, a expandable and extenable
|
||||
set of IRC Services, that aim to provide more than just NickServ
|
||||
and ChanServ (In Fact, as of now, (Sept 2002) there are no NickServ
|
||||
or ChanServ features in NeoStats. although they are being developed)
|
||||
|
||||
The NeoStats team is commited to IRC software, and has been writting
|
||||
software for close to 4 years now. Anyone is welcome to join in our
|
||||
coding efforts by sending us Patches, or just helping out in our support
|
||||
Boards or channels.
|
||||
|
||||
|
||||
The core team as, of this major release:
|
||||
|
||||
Fish, Jusitn Hammond <fish@dynam.ac>
|
||||
Shmad, Adam Rutter <shmad@neostats.net>
|
||||
|
||||
The Following have helped us improve our software (and coding skills)
|
||||
over the past.
|
||||
|
||||
^Enigma^, Mystery Man, <Engima@neostats.net>
|
||||
Eggy, Unknown, <eggy@pvpgn.org>
|
||||
|
||||
All the users of irc-chat.net who encouraged us to develop this IRCD
|
||||
Many Many Others. If I left you out, please send me a email and I'll update
|
||||
this file with your details.
|
||||
|
||||
|
||||
This ircd is based on Hybrid7, who's credits live in
|
||||
doc/old/Hybrid-team. They deserve a big clap and pat on the back for
|
||||
writting a awesome ircd!
|
||||
|
||||
|
14
TODO
14
TODO
|
@ -1,4 +1,4 @@
|
|||
$Id: TODO,v 1.5 2002/09/12 07:15:57 fishwaldo Exp $
|
||||
$Id: TODO,v 1.6 2002/09/13 06:50:04 fishwaldo Exp $
|
||||
|
||||
NeoStats HostServ should accept /privmsg hostserv login <username> <password> for NeoIRCD vhost support!
|
||||
|
||||
|
@ -6,8 +6,16 @@ Does Glines get propogated to new servers that have just joined the network? I d
|
|||
|
||||
SQlines etc need to be propogated
|
||||
|
||||
/nickserv /chanserv etc need to be added (dynamically!)
|
||||
|
||||
sendto_realops and sendto_realops_flags needs ability to send network wide (not just server wide)
|
||||
|
||||
update SERVER command, so Hidden, or Dynamic U-lined servers are introduced in a nicer way (Not via Server info line, as its done now)
|
||||
|
||||
SWHOIS support (I love it!)
|
||||
|
||||
|
||||
POST 1.0
|
||||
*Umode +b (Bots) to identify bots (iEf2002)
|
||||
*it would be nice if we could pass message handlers the actuall command that triggered the handler
|
||||
*Umode +a (Services Root) and +N (Network Admin)
|
||||
*SSL Client Support (Still not sure how to do this)
|
||||
*Implement servlink so it can either be a seperate process, or linked to the ircd. (for shells with a process limit, its baaaad)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
dnl $Id: configure.in,v 1.2 2002/08/13 14:45:00 fishwaldo Exp $
|
||||
dnl $Id: configure.in,v 1.3 2002/09/13 06:50:05 fishwaldo Exp $
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
dnl AC_INIT(include/class.h) <- what is this ? -TimeMr14C
|
||||
|
||||
|
@ -6,10 +6,10 @@ AC_INIT
|
|||
|
||||
AC_CONFIG_AUX_DIR(autoconf)
|
||||
AC_CONFIG_HEADER(include/setup.h servlink/setup.h)
|
||||
AC_PREFIX_DEFAULT(/usr/local/ircd)
|
||||
AC_PREFIX_DEFAULT(~/NeoIRCd)
|
||||
|
||||
PACKAGE=ircd-hybrid
|
||||
VERSION=7.0
|
||||
PACKAGE=NeoIRCd
|
||||
VERSION=0.9.1
|
||||
AC_SUBST(PACKAGE)
|
||||
AC_SUBST(VERSION)
|
||||
|
||||
|
@ -248,7 +248,7 @@ AC_DEFUN(CHECK_SOCKLEN_T,
|
|||
CHECK_SOCKLEN_T
|
||||
|
||||
dnl Check for stdarg.h - if we can't find it, halt configure
|
||||
AC_CHECK_HEADER(stdarg.h, , AC_MSG_ERROR(** stdarg.h could not be found - ircd-hybrid will not compile without it **))
|
||||
AC_CHECK_HEADER(stdarg.h, , AC_MSG_ERROR(** stdarg.h could not be found - NeoIRCd will not compile without it **))
|
||||
|
||||
dnl Checks for the existance of strlcat
|
||||
AC_CHECK_FUNCS(strlcat strlcpy)
|
||||
|
@ -662,17 +662,6 @@ if test "$ac_cv_ipv6" = "yes" ; then
|
|||
fi
|
||||
|
||||
|
||||
dnl efnet
|
||||
AC_ARG_ENABLE(efnet,
|
||||
[ --enable-efnet For IRCDs running on efnet. ],
|
||||
[ ac_cv_efnet=$enableval ], [ ac_cv_efnet='no' ])
|
||||
|
||||
|
||||
if test "$ac_cv_efnet" = "yes"; then
|
||||
AC_DEFINE(EFNET)
|
||||
echo "Building ircd for use with efnet"
|
||||
fi
|
||||
|
||||
ac_cv_assert="-DNDEBUG"
|
||||
|
||||
dnl assert?
|
||||
|
@ -744,23 +733,10 @@ AC_ARG_ENABLE(small-net,
|
|||
esac
|
||||
])
|
||||
|
||||
ac_cv_nicklen="9"
|
||||
ac_cv_nicklen="30"
|
||||
ac_cv_maxclients="200"
|
||||
ac_cv_topiclen="120"
|
||||
ac_cv_topiclen="307"
|
||||
|
||||
dnl Nicklen
|
||||
AC_ARG_WITH(nicklen,
|
||||
[ --with-nicklen=LENGTH Set the nick length to LENGTH. ],
|
||||
|
||||
[
|
||||
echo $withval
|
||||
if test "$withval" = "no"; then
|
||||
ac_cv_nicklen="9"
|
||||
else
|
||||
ac_cv_nicklen="$withval"
|
||||
fi
|
||||
])
|
||||
AC_MSG_RESULT("Setting NICKLEN to $ac_cv_nicklen")
|
||||
AC_DEFINE_UNQUOTED(NICKLEN, (${ac_cv_nicklen}+1))
|
||||
|
||||
dnl Max support clients
|
||||
|
@ -777,18 +753,6 @@ AC_ARG_WITH(maxclients,
|
|||
AC_MSG_RESULT("Setting MAX_CLIENTS to $ac_cv_maxclients")
|
||||
AC_DEFINE_UNQUOTED(MAX_CLIENTS, ${ac_cv_maxclients})
|
||||
|
||||
dnl Max support clients
|
||||
AC_ARG_WITH(topiclen,
|
||||
[ --with-topiclen=NUMBER Set the max topic length to NUMBER. ],
|
||||
|
||||
[
|
||||
if test "$withval" = "no"; then
|
||||
ac_cv_topiclen="120"
|
||||
else
|
||||
ac_cv_topiclen="$withval"
|
||||
fi
|
||||
])
|
||||
AC_MSG_RESULT("Setting TOPICLEN to $ac_cv_topiclen")
|
||||
AC_DEFINE_UNQUOTED(TOPICLEN, ${ac_cv_topiclen})
|
||||
|
||||
dnl shared-modules
|
||||
|
@ -1012,10 +976,4 @@ if test "X${cf_openssl_ciphers}" != "X"; then
|
|||
echo ""
|
||||
fi
|
||||
|
||||
if test "$ac_cv_efnet" = "yes"; then
|
||||
echo "This server is configured for EFNet usage. You should NOT use the"
|
||||
echo "example.conf that will be installed. Use example.efnet.conf instead."
|
||||
echo ""
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT("Server is configured with NICKLEN=$ac_cv_nicklen and MAX_CLIENTS=$ac_cv_maxclients")
|
||||
|
|
176
doc/example.conf
176
doc/example.conf
|
@ -1,9 +1,9 @@
|
|||
/* doc/example.conf - ircd-hybrid-7 Example configuration file
|
||||
* Copyright (C) 2000-2002 Hybrid Development Team
|
||||
/* doc/example.conf - NeoIRCd Example configuration file
|
||||
* Copyright (C) 2002 NeoStats
|
||||
*
|
||||
* Written by ejb, wcampbel, db, leeh and others
|
||||
* ported from Hybrid7 by fish
|
||||
*
|
||||
* $Id: example.conf,v 1.2 2002/08/13 14:45:01 fishwaldo Exp $
|
||||
* $Id: example.conf,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
/* IMPORTANT NOTES:
|
||||
|
@ -33,21 +33,15 @@
|
|||
* Sizes and times may be singular or plural.
|
||||
*/
|
||||
|
||||
/* EFNET NOTE:
|
||||
*
|
||||
* This config file is NOT suitable for EFNet. EFNet admins should use
|
||||
* example.efnet.conf
|
||||
*/
|
||||
|
||||
/* serverinfo {}: Contains information about the server. (OLD M:) */
|
||||
serverinfo {
|
||||
/* name: the name of our server */
|
||||
name = "hades.arpa";
|
||||
name = "irc.dynam.ac";
|
||||
|
||||
/* description: the description of our server. '[' and ']' may not
|
||||
* be used here for compatibility with older servers.
|
||||
*/
|
||||
description = "hybrid-7 test server";
|
||||
description = "NeoIRCd test server";
|
||||
|
||||
/* network info: the name and description of the network this server
|
||||
* is on. Shown in the 005 reply and used with serverhiding.
|
||||
|
@ -59,7 +53,7 @@ serverinfo {
|
|||
* connected to it. This may not be changed if there are active
|
||||
* LazyLink servers.
|
||||
*/
|
||||
hub = no;
|
||||
hub = yes;
|
||||
|
||||
/* vhost: the IP to bind to when we connect outward to ipv4 servers.
|
||||
* This should be an ipv4 IP only.
|
||||
|
@ -153,7 +147,7 @@ class {
|
|||
connectfreq = 5 minutes;
|
||||
|
||||
/* max number: the amount of servers to autoconnect to */
|
||||
max_number = 1;
|
||||
max_number = 0;
|
||||
|
||||
/* sendq: servers need a higher sendq as they send more data */
|
||||
sendq=2 megabytes;
|
||||
|
@ -168,16 +162,11 @@ listen {
|
|||
*/
|
||||
|
||||
/* port: listen on all available IPs, ports 6665 to 6669 */
|
||||
port = 6665 .. 6669;
|
||||
port = 6667;
|
||||
|
||||
/* host: set a specific IP/host the ports after the line will listen
|
||||
* on. This may be ipv4 or ipv6.
|
||||
*/
|
||||
host = "1.2.3.4";
|
||||
port = 7000, 7001;
|
||||
|
||||
host = "3ffe:1234:a:b:c::d";
|
||||
port = 7002;
|
||||
};
|
||||
|
||||
/* auth {}: allow users to connect to the ircd (OLD I:) */
|
||||
|
@ -185,20 +174,11 @@ auth {
|
|||
/* user: the user@host allowed to connect. multiple IPv4/IPv6 user
|
||||
* lines are permitted per auth block.
|
||||
*/
|
||||
user = "*@172.16.0.0/12";
|
||||
user = "*test@123D:B567:*";
|
||||
user = "*@*";
|
||||
|
||||
/* password: an optional password that is required to use this block */
|
||||
password = "letmein";
|
||||
#password = "letmein";
|
||||
|
||||
/* spoof: fake the users host to be be this. This is free-form,
|
||||
* just do everyone a favour and dont abuse it. (OLD I: = flag)
|
||||
*/
|
||||
spoof = "I.still.hate.packets";
|
||||
|
||||
/* spoof notice: enable spoofing notification to admins (default yes) */
|
||||
spoof_notice = yes;
|
||||
|
||||
/* exceed limit: allow a user to exceed class limits (OLD I: > flag) */
|
||||
exceed_limit = yes;
|
||||
|
||||
|
@ -241,23 +221,21 @@ auth {
|
|||
};
|
||||
|
||||
/* operator {}: defines ircd operators. (OLD O:)
|
||||
* ircd-hybrid no longer supports local operators, privileges are
|
||||
* controlled via flags.
|
||||
*/
|
||||
operator {
|
||||
/* name: the name of the oper */
|
||||
name = "god";
|
||||
name = "ircop";
|
||||
|
||||
/* user: the user@host required for this operator. CIDR is not
|
||||
* supported. multiple user="" lines are supported.
|
||||
*/
|
||||
user = "*god@*";
|
||||
user = "*@127.0.0.1";
|
||||
user = "*@*";
|
||||
#user = "*@127.0.0.1";
|
||||
|
||||
/* password: the password required to oper. By default this will
|
||||
* need to be encrypted using 'mkpasswd'. MD5 is supported.
|
||||
*/
|
||||
password = "etcnjl8juSU1E";
|
||||
password = "g4uSVO1Mi9jy2";
|
||||
|
||||
/* rsa key: the public key for this oper when using Challenge.
|
||||
* A password should not be defined when this is used, see
|
||||
|
@ -299,24 +277,24 @@ operator {
|
|||
/* connect {}: controls servers we connect to (OLD C:, N:, H:, L:) */
|
||||
connect {
|
||||
/* name: the name of the server */
|
||||
name = "irc.uplink.com";
|
||||
name = "stats.dynam.ac";
|
||||
|
||||
/* host: the host or IP to connect to. If a hostname is used it
|
||||
* must match the reverse dns of the server.
|
||||
*/
|
||||
host = "192.168.0.1";
|
||||
host = "*";
|
||||
|
||||
/* passwords: the passwords we send (OLD C:) and accept (OLD N:).
|
||||
* The remote server will have these passwords reversed.
|
||||
*/
|
||||
send_password = "password";
|
||||
accept_password = "anotherpassword";
|
||||
send_password = "linkpass";
|
||||
accept_password = "linkpass";
|
||||
|
||||
/* encrypted: controls whether the accept_password above has been
|
||||
* encrypted. (OLD CRYPT_LINK_PASSWORD now optional per connect)
|
||||
*/
|
||||
encrypted = no;
|
||||
|
||||
set_ulined = yes;
|
||||
/* port: the port to connect to this server on */
|
||||
port = 6666;
|
||||
|
||||
|
@ -336,7 +314,7 @@ connect {
|
|||
/* autoconnect: controls whether we autoconnect to this server or not,
|
||||
* dependent on class limits.
|
||||
*/
|
||||
autoconn = yes;
|
||||
autoconn = no;
|
||||
|
||||
/* compressed: controls whether traffic is compressed via ziplinks.
|
||||
* By default this is disabled
|
||||
|
@ -352,71 +330,6 @@ connect {
|
|||
#fakename = "*.arpa";
|
||||
};
|
||||
|
||||
connect {
|
||||
name = "encrypted.auth.example";
|
||||
host = "some.host.somewhere";
|
||||
port = 6667;
|
||||
|
||||
/* cryptlink: enable full encryption for all data passing between our
|
||||
* server and this link and rsa authentication.
|
||||
*/
|
||||
cryptlink = yes;
|
||||
|
||||
/* rsa key: the path to the public keyfile of the server. Used instead
|
||||
* of passwords.
|
||||
*/
|
||||
rsa_public_key_file = "etc/remote.server.keyfile";
|
||||
|
||||
/* cipher preference: set the preferred cipher for this link
|
||||
*
|
||||
* Available ciphers are:
|
||||
* BF/256 BF/128 CAST/128 IDEA/128 RC5.16/128
|
||||
* RC5.12/128 RC5.8/128 3DES/168 DES/56
|
||||
*
|
||||
* NOTE: Some ciphers may not be supported by your OpenSSL.
|
||||
* Check the output from 'configure' for available ciphers.
|
||||
*
|
||||
* NOTE2: To help you decide what cipher to use, tools/encspeed
|
||||
* will show you approximately how fast each cipher is.
|
||||
* However, blowfish is fast and secure, and is probably
|
||||
* a good default for most situations.
|
||||
*
|
||||
* NOTE3: Default if none is set is BF/128
|
||||
*
|
||||
* The cipher *MUST* be the same in both directions. If you
|
||||
* set a cipher preference, your uplink must set the same cipher,
|
||||
* else it will not link.
|
||||
*/
|
||||
#cipher_preference = "BF/256";
|
||||
};
|
||||
|
||||
connect {
|
||||
name = "ipv6.some.server";
|
||||
host = "3ffd:dead:beef::1";
|
||||
send_password = "password";
|
||||
accept_password = "password";
|
||||
port = 6666;
|
||||
|
||||
/* aftype: controls whether the connection uses "ipv4" or "ipv6".
|
||||
* Default is ipv4.
|
||||
*/
|
||||
aftype = ipv6;
|
||||
class = "server";
|
||||
};
|
||||
|
||||
/* shared {}: users that are allowed to remote kline (OLD U:) */
|
||||
shared {
|
||||
/* name: the server the user must be on to set klines. If this is not
|
||||
* specified, the user will be allowed to kline from all servers.
|
||||
*/
|
||||
name = "irc2.some.server";
|
||||
|
||||
/* user: the user@host mask that is allowed to set klines. If this is
|
||||
* not specified, all users on the server above will be allowed to set
|
||||
* a remote kline.
|
||||
*/
|
||||
user = "oper@my.host.is.spoofed";
|
||||
};
|
||||
|
||||
/* kill {}: users that are not allowed to connect (OLD K:)
|
||||
* Oper issued klines will be added to the specified kline config
|
||||
|
@ -447,7 +360,7 @@ resv {
|
|||
/* resv: the nicks and channels users may not join/use */
|
||||
nick = "nickserv";
|
||||
nick = "chanserv";
|
||||
channel = "#services";
|
||||
#channel = "#services";
|
||||
|
||||
/* resv: wildcard masks are also supported in nicks only */
|
||||
reason = "Clone bots";
|
||||
|
@ -480,47 +393,6 @@ gecos {
|
|||
|
||||
/* The channel block contains options pertaining to channels */
|
||||
channel {
|
||||
/* invex: Enable/disable channel mode +I, a n!u@h list of masks
|
||||
* that can join a +i channel without an invite.
|
||||
*/
|
||||
use_invex = yes;
|
||||
|
||||
/* except: Enable/disable channel mode +e, a n!u@h list of masks
|
||||
* that can join a channel through a ban (+b).
|
||||
*/
|
||||
use_except = yes;
|
||||
|
||||
/* halfops: Enable/disable channel mode "+h <nick>", this allows
|
||||
* users to perform all channel functions except +/-o and kick
|
||||
* opped users.
|
||||
*/
|
||||
use_halfops = yes;
|
||||
|
||||
/* anonops: Enable/disable channel mode +a. This hides the people
|
||||
* who are opped in the channel from people who are unopped.
|
||||
*
|
||||
* The ircd will 'sync' the users oplists when they become opped
|
||||
* or deopped by sending mode changes. This can cause a flood and
|
||||
* could potentially be abused.
|
||||
*/
|
||||
use_anonops = no;
|
||||
|
||||
/* vchans: permit virtual channels, multiple copies of the same
|
||||
* channel name. read doc/vchans.txt for more details
|
||||
*
|
||||
* We advise against using this on production networks
|
||||
*/
|
||||
use_vchans = yes;
|
||||
|
||||
/* vchans oper only: only allow opers to create vchans via /cjoin */
|
||||
vchans_oper_only = yes;
|
||||
|
||||
/* knock: Allows users to request an invite to a channel that
|
||||
* is locked somehow (+ikl). If the channel is +p or you are banned
|
||||
* the knock will not be sent.
|
||||
*/
|
||||
use_knock = yes;
|
||||
|
||||
/* knock delay: The amount of time a user must wait between issuing
|
||||
* the knock command.
|
||||
*/
|
||||
|
@ -582,7 +454,6 @@ serverhide {
|
|||
* that they are linked to this current server
|
||||
*/
|
||||
flatten_links = no;
|
||||
|
||||
/* links delay: how often to update the links file when it is
|
||||
* flattened.
|
||||
*/
|
||||
|
@ -755,7 +626,6 @@ general {
|
|||
maximum_links = 1;
|
||||
|
||||
/* REMOVE ME. The following line checks you've been reading. */
|
||||
havent_read_conf = 1;
|
||||
|
||||
/* logfiles: the logfiles to use for user connects, /oper uses,
|
||||
* and failed /oper. These files must exist for logging to be used.
|
||||
|
@ -816,7 +686,7 @@ general {
|
|||
rej, spy, external, operwall, locops, unauth;
|
||||
|
||||
/* oper umodes: default usermodes opers get when they /oper */
|
||||
oper_umodes = locops, servnotice, operwall, wallop;
|
||||
/* oper_umodes = locops, servnotice, operwall, wallop, bots, ccon, debug, full, skil, nchange, rej, spy, externa; */
|
||||
|
||||
/* servlink path: path to 'servlink' program used by ircd to handle
|
||||
* encrypted/compressed server <-> server links.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$Id: Hybrid-team,v 1.2 2002/08/13 14:44:58 fishwaldo Exp $
|
||||
$Id: Hybrid-team,v 1.1 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
|
||||
The hybrid team is a group of ircd coders who were frustrated
|
||||
with the instability and all-out "dirtiness" of the EFnet ircd's
|
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile.in,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
# $Id: Makefile.in,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
# makefile for include/
|
||||
|
||||
INSTALL= @INSTALL@
|
||||
|
@ -22,10 +22,10 @@ install:
|
|||
-@if test ! -d $(prefix)/include; then \
|
||||
echo "mkdir $(prefix)/include"; \
|
||||
mkdir $(prefix)/include; \
|
||||
mkdir $(prefix)/include/ircd-hybrid-7; \
|
||||
mkdir $(prefix)/include/NeoIRCd; \
|
||||
fi
|
||||
@for header in *.h; do \
|
||||
${INSTALL_DATA} $$header $(prefix)/include/ircd-hybrid-7; \
|
||||
${INSTALL_DATA} $$header $(prefix)/include/NeoIRCd; \
|
||||
done
|
||||
|
||||
distclean:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* balloc.h: The ircd block allocator header.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: balloc.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: balloc.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_blalloc_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* channel.h: The ircd channel header.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: channel.h,v 1.6 2002/09/05 13:14:36 fishwaldo Exp $
|
||||
* $Id: channel.h,v 1.7 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_channel_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* channel_mode.h: The ircd channel mode header.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: channel_mode.h,v 1.6 2002/09/03 04:57:46 fishwaldo Exp $
|
||||
* $Id: channel_mode.h,v 1.7 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* class.h: The ircd class management header.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: class.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: class.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_class_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* client.h: The ircd client header.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: client.h,v 1.6 2002/09/12 05:45:19 fishwaldo Exp $
|
||||
* $Id: client.h,v 1.7 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_client_h
|
||||
|
@ -448,7 +448,6 @@ struct LocalUser
|
|||
#define FLAGS2_CBURST 0x10000 /* connection burst being sent */
|
||||
#define FLAGS2_PING_COOKIE 0x20000 /* PING Cookie */
|
||||
#define FLAGS2_IDLE_LINED 0x40000
|
||||
#define FLAGS2_IP_SPOOFING 0x80000 /* client IP is spoofed */
|
||||
#define FLAGS2_FLOODDONE 0x200000 /* Flood grace period has
|
||||
* been ended. */
|
||||
|
||||
|
@ -552,8 +551,6 @@ struct LocalUser
|
|||
#define SetExemptLimits(x) ((x)->flags2 |= FLAGS2_NOLIMIT)
|
||||
#define IsExemptGline(x) ((x)->flags2 & FLAGS2_EXEMPTGLINE)
|
||||
#define SetExemptGline(x) ((x)->flags2 |= FLAGS2_EXEMPTGLINE)
|
||||
#define SetIPSpoof(x) ((x)->flags2 |= FLAGS2_IP_SPOOFING)
|
||||
#define IsIPSpoof(x) ((x)->flags2 & FLAGS2_IP_SPOOFING)
|
||||
|
||||
#define SetIdlelined(x) ((x)->flags2 |= FLAGS2_IDLE_LINED)
|
||||
#define IsIdlelined(x) ((x)->flags2 & FLAGS2_IDLE_LINED)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* common.h: An ircd header common to most code.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: common.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: common.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_common_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* config.h: The ircd compile-time-configurable header.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: config.h,v 1.3 2002/09/02 04:10:59 fishwaldo Exp $
|
||||
* $Id: config.h,v 1.4 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_config_h
|
||||
|
@ -29,7 +29,7 @@
|
|||
|
||||
#define DEBUG
|
||||
/*
|
||||
* IRCD-HYBRID-7 COMPILE TIME CONFIGURATION OPTIONS
|
||||
* NeoIRCd COMPILE TIME CONFIGURATION OPTIONS
|
||||
*
|
||||
* Most of the items which used to be configurable in here have
|
||||
* been moved into the new improved ircd.conf file.
|
||||
|
@ -182,13 +182,6 @@
|
|||
*/
|
||||
#undef HIDE_SERVERS_IPS
|
||||
|
||||
/* HIDE_SPOOF_IPS
|
||||
*
|
||||
* If this is undefined, opers will be allowed to see the real IP of spoofed
|
||||
* users in /trace etc. If this is defined they will be shown a masked IP.
|
||||
*/
|
||||
#undef HIDE_SPOOF_IPS
|
||||
|
||||
/* TS5_ONLY
|
||||
*
|
||||
* If this is defined only TS5 servers may link to the network. See
|
||||
|
@ -291,32 +284,6 @@
|
|||
*/
|
||||
#define HYBRID_SOMAXCONN 25
|
||||
|
||||
/* CODE DISABLE SECTION
|
||||
*
|
||||
* If you have enabled efnet specific code these will be disabled automatically
|
||||
* else they are here for anyone else.
|
||||
*/
|
||||
#define ANONOPS
|
||||
#define HALFOPS
|
||||
|
||||
/* END OF CONFIGURABLE OPTIONS */
|
||||
|
||||
/* disable them for efnet */
|
||||
#ifdef EFNET
|
||||
#undef VCHANS
|
||||
#undef ANONOPS
|
||||
#undef HALFOPS
|
||||
#ifndef HIDE_SERVERS_IPS
|
||||
#define HIDE_SERVERS_IPS
|
||||
#endif
|
||||
#ifndef HIDE_SPOOF_IPS
|
||||
#define HIDE_SPOOF_IPS
|
||||
#endif
|
||||
#ifndef TS5_ONLY
|
||||
#define TS5_ONLY
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Default pre-allocations for various things...
|
||||
*/
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: config.h.dist,v 1.3 2002/09/02 04:10:59 fishwaldo Exp $
|
||||
* $Id: config.h.dist,v 1.4 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_config_h
|
||||
|
@ -29,13 +29,8 @@
|
|||
|
||||
|
||||
/*
|
||||
* IRCD-HYBRID-7 COMPILE TIME CONFIGURATION OPTIONS
|
||||
* neoIRCd COMPILE TIME CONFIGURATION OPTIONS
|
||||
*
|
||||
* Most of the items which used to be configurable in here have
|
||||
* been moved into the new improved ircd.conf file.
|
||||
* If you can't find something, look in doc/example.conf
|
||||
*
|
||||
* -davidt
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -291,27 +286,6 @@
|
|||
*/
|
||||
#define INVARIANTS
|
||||
|
||||
/* CODE DISABLE SECTION
|
||||
*
|
||||
* If you have enabled efnet specific code these will be disabled automatically
|
||||
* else they are here for anyone else.
|
||||
*/
|
||||
#define ANONOPS
|
||||
#define HALFOPS
|
||||
|
||||
/* disable them for efnet */
|
||||
#ifdef EFNET
|
||||
#undef VCHANS
|
||||
#undef ANONOPS
|
||||
#undef HALFOPS
|
||||
#ifndef HIDE_SERVERS_IPS
|
||||
#define HIDE_SERVERS_IPS
|
||||
#endif
|
||||
#ifndef HIDE_SPOOF_IPS
|
||||
#define HIDE_SPOOF_IPS
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define CONFIG_H_LEVEL_7
|
||||
|
||||
#include "defaults.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* defaults.h: The ircd defaults header.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: defaults.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: defaults.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_defaults_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* event.h: The ircd event header.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: event.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: event.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_event_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* fdlist.h: The file descriptor list header.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: fdlist.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: fdlist.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_fdlist_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* fileio.h: The file input/output header.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: fileio.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: fileio.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_fileio_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* fileio.h: A header for some built in command handlers.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: handlers.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: handlers.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_handlers_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* hash.h: A header for the ircd hashtable code.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: hash.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: hash.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_hash_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* hook.h: A header for the hooks into parts of ircd.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: hook.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: hook.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef __HOOK_H_INCLUDED
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* hostmask.h: A header for the hostmask code.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: hostmask.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: hostmask.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDE_hostmask_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* irc_string.h: A header for the ircd string functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: irc_string.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: irc_string.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_irc_string_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* ircd.h: A header for the ircd startup routines.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: ircd.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: ircd.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_ircd_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* ircd_defs.h: A header for ircd global definitions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: ircd_defs.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: ircd_defs.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* ircd_getopt.h: A header for the getopt() command line option calls.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: ircd_getopt.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: ircd_getopt.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef __GETOPT_H_INCLUDED__
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* ircd_handler.h: A header for the IRC message handlers.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: ircd_handler.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: ircd_handler.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_ircd_handler_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* ircd_signal.h: A header for ircd signals.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: ircd_signal.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: ircd_signal.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_ircd_signal_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* ircdauth.h: A header for the iAuth interface.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: ircdauth.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: ircdauth.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_ircdauth_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* linebuf.h: A header for the linebuf code.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: linebuf.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: linebuf.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef __LINEBUF_H__
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* list.h: A header for the code in list.c.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: list.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: list.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_list_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* listener.h: A header for the listener code.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: listener.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: listener.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_listener_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_info.h: A header for the information sent by /info
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_info.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: m_info.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_m_info_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_kline.h: A header for the kline code.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_kline.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: m_kline.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_m_kline_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* md5.h: A header for the MD5 hash algorithms.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: md5.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: md5.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef __INCLUDE_MD5_H_INCLUDED
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* memory.h: A header for the memory functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: memory.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: memory.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef _I_MEMORY_H
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* modules.h: A header for the modules functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: modules.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: modules.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_modules_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* motd.h: A header for the MOTD functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: motd.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: motd.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_motd_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* msg.h: A header for the message handler structure.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: msg.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: msg.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_msg_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* numeric.h: A header for the numeric functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: numeric.h,v 1.5 2002/09/05 10:48:36 fishwaldo Exp $
|
||||
* $Id: numeric.h,v 1.6 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_numeric_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* packet.h: A header for the packet functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: packet.h,v 1.3 2002/08/16 12:05:36 fishwaldo Exp $
|
||||
* $Id: packet.h,v 1.4 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_packet_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* parse.h: A header for the message parser.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: parse.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: parse.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_parse_h_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* patchlevel.h: A header defining the patchlevel.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,9 +19,9 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: patchlevel.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: patchlevel.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef PATCHLEVEL
|
||||
#define PATCHLEVEL "NeoIRCd-1.0"
|
||||
#define PATCHLEVEL "NeoIRCd 0.9.1"
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* res.h: A header with the DNS functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: res.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: res.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef _RES_H_INCLUDED
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* restart.h: A header with restart functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: restart.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: restart.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_restart_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* restart.h: A header for the restart functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: resv.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: resv.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_resv_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* rsa.h: A header for the RSA functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: rsa.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: rsa.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
#ifndef INCLUDED_rsa_h
|
||||
#define INCLUDED_rsa_h 1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* s_auth.h: A header for the ident functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: s_auth.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: s_auth.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_s_auth_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* s_bsd.h: A header for the network subsystem.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: s_bsd.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: s_bsd.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_s_bsd_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* s_conf.h: A header for the configuration functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: s_conf.h,v 1.4 2002/09/02 04:10:59 fishwaldo Exp $
|
||||
* $Id: s_conf.h,v 1.5 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_s_conf_h
|
||||
|
@ -119,8 +119,6 @@ struct ConfItem
|
|||
#define CONF_FLAGS_EXEMPTKLINE 0x00000040
|
||||
#define CONF_FLAGS_NOLIMIT 0x00000080
|
||||
#define CONF_FLAGS_IDLE_LINED 0x00000100
|
||||
#define CONF_FLAGS_SPOOF_IP 0x00000200
|
||||
#define CONF_FLAGS_SPOOF_NOTICE 0x00000400
|
||||
#define CONF_FLAGS_REDIR 0x00000800
|
||||
#define CONF_FLAGS_EXEMPTGLINE 0x00001000
|
||||
#define CONF_FLAGS_RESTRICTED 0x00002000
|
||||
|
@ -144,9 +142,6 @@ struct ConfItem
|
|||
#define IsConfExemptGline(x) ((x)->flags & CONF_FLAGS_EXEMPTGLINE)
|
||||
#define IsConfIdlelined(x) ((x)->flags & CONF_FLAGS_IDLE_LINED)
|
||||
#define IsConfDoIdentd(x) ((x)->flags & CONF_FLAGS_DO_IDENTD)
|
||||
#define IsConfDoSpoofIp(x) ((x)->flags & CONF_FLAGS_SPOOF_IP)
|
||||
/* jdc -- flip logic since YES/NO are reversed in the conf code */
|
||||
#define IsConfSpoofNotice(x) (!((x)->flags & CONF_FLAGS_SPOOF_NOTICE))
|
||||
#define IsConfRestricted(x) ((x)->flags & CONF_FLAGS_RESTRICTED)
|
||||
#define IsConfEncrypted(x) ((x)->flags & CONF_FLAGS_ENCRYPTED)
|
||||
#define IsConfCompressed(x) ((x)->flags & CONF_FLAGS_COMPRESSED)
|
||||
|
@ -296,8 +291,6 @@ struct admin_info
|
|||
extern int scount;
|
||||
|
||||
/* struct ConfItems */
|
||||
/* conf uline link list root */
|
||||
extern struct ConfItem *u_conf;
|
||||
/* conf xline link list root */
|
||||
extern struct ConfItem *x_conf;
|
||||
|
||||
|
@ -347,7 +340,6 @@ extern int conf_connect_allowed(struct irc_inaddr *addr, int aftype);
|
|||
extern char *oper_flags_as_string(int);
|
||||
extern char *oper_privs_as_string(struct Client *, int);
|
||||
|
||||
extern int find_u_conf(char*, char*, char *);
|
||||
extern struct ConfItem *find_x_conf(char*);
|
||||
|
||||
extern struct ConfItem* find_tkline(const char*, const char*, struct irc_inaddr *);
|
||||
|
@ -386,7 +378,6 @@ extern void conf_add_me(struct ConfItem *);
|
|||
extern void conf_add_class(struct ConfItem *,int );
|
||||
extern void conf_add_d_conf(struct ConfItem *);
|
||||
extern void conf_add_x_conf(struct ConfItem *);
|
||||
extern void conf_add_u_conf(struct ConfItem *);
|
||||
extern void conf_add_fields(struct ConfItem*, char*, char *, char*, char *,char *);
|
||||
extern void conf_add_conf(struct ConfItem *);
|
||||
extern void flush_expired_ips(void *);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* s_conf.h: A header for the debug functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: s_debug.h,v 1.2 2002/08/13 14:45:10 fishwaldo Exp $
|
||||
* $Id: s_debug.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_s_debug_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* s_gline.h: A header for the gline functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: s_gline.h,v 1.3 2002/09/12 05:45:19 fishwaldo Exp $
|
||||
* $Id: s_gline.h,v 1.4 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_s_gline_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* s_log.h: A header for the logger functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: s_log.h,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: s_log.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_s_log_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* s_misc.h: A header for the miscellaneous functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: s_misc.h,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: s_misc.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_s_misc_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* s_serv.h: A header for the server functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: s_serv.h,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: s_serv.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_serv_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* s_stats.h: A header for the statistics functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: s_stats.h,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: s_stats.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_s_stats_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* s_user.h: A header for the user functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: s_user.h,v 1.3 2002/09/12 05:45:19 fishwaldo Exp $
|
||||
* $Id: s_user.h,v 1.4 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_s_user_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* s_zip.h: A header for the compression functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: s_zip.h,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: s_zip.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_s_zip_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* scache.h: A header for the servername cache functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: scache.h,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: scache.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_scache_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* send.h: A header for the message sending functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: send.h,v 1.3 2002/08/14 16:52:02 fishwaldo Exp $
|
||||
* $Id: send.h,v 1.4 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_send_h
|
||||
|
|
|
@ -92,9 +92,6 @@
|
|||
/* topiclen */
|
||||
#undef TOPICLEN
|
||||
|
||||
/* EFNET */
|
||||
#undef EFNET
|
||||
|
||||
/* Define if you have the EVP_bf_cfb function. */
|
||||
#undef HAVE_EVP_BF_CFB
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* sprintf_irc.h: The irc sprintf header.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: sprintf_irc.h,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: sprintf_irc.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef SPRINTF_IRC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* stdinc.h: Pull in all of the necessary system headers
|
||||
*
|
||||
* Copyright (C) 2002 Aaron Sethman <androsyn@ratbox.org>
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: stdinc.h,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: stdinc.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* supported.h: Header for 005 numeric etc...
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: supported.h,v 1.3 2002/08/16 12:05:36 fishwaldo Exp $
|
||||
* $Id: supported.h,v 1.4 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_supported_h
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* tools.h: Header for the various tool functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: tools.h,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: tools.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#ifndef __TOOLS_H__
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* whowas.h: Header for the whowas functions.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: whowas.h,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: whowas.h,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
#ifndef INCLUDED_whowas_h
|
||||
#define INCLUDED_whowas_h
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#
|
||||
# Makefile.in for ircd/modules
|
||||
#
|
||||
# $Id: Makefile.in,v 1.6 2002/09/12 07:15:58 fishwaldo Exp $
|
||||
# $Id: Makefile.in,v 1.7 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
#
|
||||
CC = @CC@
|
||||
AR = @AR@
|
||||
|
@ -49,6 +49,7 @@ CORE_SRCS = \
|
|||
core/m_squit.c
|
||||
|
||||
SRCS = \
|
||||
m_alias.c \
|
||||
m_accept.c \
|
||||
m_admin.c \
|
||||
m_away.c \
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_die.c: Kills off this server.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_die.c,v 1.1 2002/08/14 05:47:41 fishwaldo Exp $
|
||||
* $Id: m_die.c,v 1.2 2002/09/13 06:50:07 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -57,7 +57,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&die_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.1 $";
|
||||
const char *_version = "$Revision: 1.2 $";
|
||||
#endif
|
||||
/*
|
||||
* mo_die - DIE command handler
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_kick.c: Kicks a user from a channel.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_kick.c,v 1.6 2002/09/02 07:41:15 fishwaldo Exp $
|
||||
* $Id: m_kick.c,v 1.7 2002/09/13 06:50:07 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -59,7 +59,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&kick_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.6 $";
|
||||
const char *_version = "$Revision: 1.7 $";
|
||||
#endif
|
||||
/*
|
||||
** m_kick
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_kill.c: Kills a user.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_kill.c,v 1.3 2002/08/16 12:05:36 fishwaldo Exp $
|
||||
* $Id: m_kill.c,v 1.4 2002/09/13 06:50:07 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -64,7 +64,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&kill_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
const char *_version = "$Revision: 1.4 $";
|
||||
#endif
|
||||
/*
|
||||
** mo_kill
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_message.c: Sends a (PRIVMSG|NOTICE) message to a user or channel.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_message.c,v 1.4 2002/09/02 07:41:15 fishwaldo Exp $
|
||||
* $Id: m_message.c,v 1.5 2002/09/13 06:50:07 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -122,7 +122,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(¬ice_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.4 $";
|
||||
const char *_version = "$Revision: 1.5 $";
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_mode.c: Sets a user or channel mode.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_mode.c,v 1.3 2002/09/02 04:11:00 fishwaldo Exp $
|
||||
* $Id: m_mode.c,v 1.4 2002/09/13 06:50:07 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -62,7 +62,7 @@ _moddeinit(void)
|
|||
}
|
||||
|
||||
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
const char *_version = "$Revision: 1.4 $";
|
||||
#endif
|
||||
/*
|
||||
* m_mode - MODE command handler
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_nick.c: Sets a users nick.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_nick.c,v 1.6 2002/09/12 05:45:20 fishwaldo Exp $
|
||||
* $Id: m_nick.c,v 1.7 2002/09/13 06:50:07 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -97,7 +97,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&client_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.6 $";
|
||||
const char *_version = "$Revision: 1.7 $";
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_part.c: Parts a user from a channel.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_part.c,v 1.3 2002/09/02 04:11:00 fishwaldo Exp $
|
||||
* $Id: m_part.c,v 1.4 2002/09/13 06:50:07 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -61,7 +61,7 @@ _moddeinit(void)
|
|||
{
|
||||
mod_del_cmd(&part_msgtab);
|
||||
}
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
const char *_version = "$Revision: 1.4 $";
|
||||
#endif
|
||||
|
||||
static void part_one_client(struct Client *client_p,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_quit.c: Makes a user quit from IRC.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_quit.c,v 1.1 2002/08/14 05:47:41 fishwaldo Exp $
|
||||
* $Id: m_quit.c,v 1.2 2002/09/13 06:50:07 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -55,7 +55,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&quit_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.1 $";
|
||||
const char *_version = "$Revision: 1.2 $";
|
||||
#endif
|
||||
/*
|
||||
** m_quit
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_server.c: Introduces a server.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_server.c,v 1.3 2002/08/16 12:05:36 fishwaldo Exp $
|
||||
* $Id: m_server.c,v 1.4 2002/09/13 06:50:07 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -67,7 +67,7 @@ _moddeinit(void)
|
|||
{
|
||||
mod_del_cmd(&server_msgtab);
|
||||
}
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
const char *_version = "$Revision: 1.4 $";
|
||||
#endif
|
||||
|
||||
int bogus_host(char *host);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_sjoin.c: Joins a user to a channel.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_sjoin.c,v 1.5 2002/09/02 07:41:15 fishwaldo Exp $
|
||||
* $Id: m_sjoin.c,v 1.6 2002/09/13 06:50:07 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -62,7 +62,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&sjoin_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.5 $";
|
||||
const char *_version = "$Revision: 1.6 $";
|
||||
#endif
|
||||
/*
|
||||
* ms_sjoin
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_squit.c: Makes a server quit.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_squit.c,v 1.1 2002/08/14 05:47:41 fishwaldo Exp $
|
||||
* $Id: m_squit.c,v 1.2 2002/09/13 06:50:07 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -58,7 +58,7 @@ _moddeinit(void)
|
|||
{
|
||||
mod_del_cmd(&squit_msgtab);
|
||||
}
|
||||
const char *_version = "$Revision: 1.1 $";
|
||||
const char *_version = "$Revision: 1.2 $";
|
||||
#endif
|
||||
struct squit_parms
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_accept.c: Allows a user to talk to a +g user.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_accept.c,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: m_accept.c,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -60,7 +60,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&accept_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.2 $";
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
#endif
|
||||
/*
|
||||
* m_accept - ACCEPT command handler
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_admin.c: Sends administrative information to a user.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_admin.c,v 1.3 2002/09/02 04:10:59 fishwaldo Exp $
|
||||
* $Id: m_admin.c,v 1.4 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -60,7 +60,7 @@ _moddeinit(void)
|
|||
hook_del_event("doing_admin");
|
||||
mod_del_cmd(&admin_msgtab);
|
||||
}
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
const char *_version = "$Revision: 1.4 $";
|
||||
#endif
|
||||
/*
|
||||
* mr_admin - ADMIN command handler
|
||||
|
|
252
modules/m_alias.c
Normal file
252
modules/m_alias.c
Normal file
|
@ -0,0 +1,252 @@
|
|||
/************************************************************************
|
||||
* IRC - Internet Relay Chat. m_alias.c module - Create Services alias's
|
||||
* Copyright (C) 2001 Hybrid Development Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 1, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
* $Id: m_alias.c,v 1.1 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
/* List of ircd includes from ../include/ */
|
||||
#include "stdinc.h"
|
||||
#include "handlers.h"
|
||||
#include "client.h"
|
||||
#include "common.h" /* FALSE bleah */
|
||||
#include "ircd.h"
|
||||
#include "irc_string.h"
|
||||
#include "numeric.h"
|
||||
#include "fdlist.h"
|
||||
#include "s_bsd.h"
|
||||
#include "s_conf.h"
|
||||
#include "s_log.h"
|
||||
#include "s_serv.h"
|
||||
#include "send.h"
|
||||
#include "msg.h"
|
||||
#include "parse.h"
|
||||
#include "modules.h"
|
||||
#include "hash.h"
|
||||
#include "whowas.h"
|
||||
|
||||
|
||||
/* define who hostserv is on your network */
|
||||
#define CHANSERV "ChanServ"
|
||||
#define NICKSERV "NickServ"
|
||||
#define STATSERV "StatServ"
|
||||
#define HOSTSERV "HostServ"
|
||||
#define OPERSERV "OperServ"
|
||||
|
||||
|
||||
|
||||
/* Declare the void's initially up here, as modules dont have an
|
||||
* include file, we will normally have client_p, source_p, parc
|
||||
* and parv[] where:
|
||||
*
|
||||
* client_p == client issuing command
|
||||
* source_p == where the command came from
|
||||
* parc == the number of parameters
|
||||
* parv == an array of the parameters
|
||||
*/
|
||||
static void m_chanserv(struct Client *client_p, struct Client *source_p,
|
||||
int parc, char *parv[]);
|
||||
|
||||
static void m_nickserv(struct Client *client_p, struct Client *source_p,
|
||||
int parc, char *parv[]);
|
||||
|
||||
static void m_identify(struct Client *client_p, struct Client *source_p,
|
||||
int parc, char *parv[]);
|
||||
|
||||
static void m_statserv(struct Client *client_p, struct Client *source_p,
|
||||
int parc, char *parv[]);
|
||||
|
||||
static void m_hostserv(struct Client *client_p, struct Client *source_p,
|
||||
int parc, char *parv[]);
|
||||
|
||||
static void m_operserv(struct Client *client_p, struct Client *source_p,
|
||||
int parc, char *parv[]);
|
||||
|
||||
|
||||
static void send_alias (char *who, struct Client *client_p, struct Client *source_p,
|
||||
int parc, char *parv[]);
|
||||
|
||||
|
||||
/* Show the commands this module can handle in a msgtab
|
||||
* and give the msgtab a name, here its test_msgtab
|
||||
*/
|
||||
struct Message services_msgtab[] = {
|
||||
{CHANSERV, 0, 0, 2, MAXPARA, MFLG_SLOW, 0,
|
||||
{m_ignore, m_chanserv, m_ignore, m_chanserv}},
|
||||
{NICKSERV, 0, 0, 2, MAXPARA, MFLG_SLOW, 0,
|
||||
{m_ignore, m_nickserv, m_ignore, m_nickserv}},
|
||||
{"IDENTIFY", 0, 0, 2, 3, MFLG_SLOW, 0,
|
||||
{m_ignore, m_identify, m_ignore, m_identify}},
|
||||
{STATSERV, 0, 0, 2, MAXPARA, MFLG_SLOW, 0,
|
||||
{m_ignore, m_statserv, m_ignore, m_statserv}},
|
||||
{HOSTSERV, 0, 0, 2, MAXPARA, MFLG_SLOW, 0,
|
||||
{m_ignore, m_hostserv, m_ignore, m_hostserv}},
|
||||
{OPERSERV, 0, 0, 2, MAXPARA, MFLG_SLOW, 0,
|
||||
{m_ignore, m_operserv, m_ignore, m_operserv}}
|
||||
};
|
||||
|
||||
/* Thats the msgtab finished */
|
||||
|
||||
#ifndef STATIC_MODULES
|
||||
/* Here we tell it what to do when the module is loaded */
|
||||
void
|
||||
_modinit(void)
|
||||
{
|
||||
/* This will add the commands in test_msgtab (which is above) */
|
||||
mod_add_cmd(&services_msgtab[0]);
|
||||
mod_add_cmd(&services_msgtab[1]);
|
||||
mod_add_cmd(&services_msgtab[2]);
|
||||
mod_add_cmd(&services_msgtab[3]);
|
||||
mod_add_cmd(&services_msgtab[4]);
|
||||
mod_add_cmd(&services_msgtab[5]);
|
||||
}
|
||||
|
||||
/* here we tell it what to do when the module is unloaded */
|
||||
void
|
||||
_moddeinit(void)
|
||||
{
|
||||
/* This will remove the commands in test_msgtab (which is above) */
|
||||
mod_del_cmd(&services_msgtab[0]);
|
||||
mod_del_cmd(&services_msgtab[1]);
|
||||
mod_del_cmd(&services_msgtab[2]);
|
||||
mod_del_cmd(&services_msgtab[3]);
|
||||
mod_del_cmd(&services_msgtab[4]);
|
||||
mod_del_cmd(&services_msgtab[5]);
|
||||
}
|
||||
|
||||
/* When we last modified the file (shown in /modlist), this is usually:
|
||||
*/
|
||||
const char *_version = "$Revision: 1.1 $";
|
||||
#endif
|
||||
|
||||
/*
|
||||
* m_chanserv
|
||||
* send a message to chanserv
|
||||
* parv[0] = sender prefix
|
||||
* parv[1+++] = commands to send
|
||||
*/
|
||||
static void m_chanserv(struct Client *client_p, struct Client *source_p,
|
||||
int parc, char *parv[])
|
||||
{
|
||||
send_alias(CHANSERV, client_p, source_p, parc, parv);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* m_nickserv
|
||||
* send a message to nickserv
|
||||
* parv[0] = sender prefix
|
||||
* parv[1+++] = commands to send
|
||||
*/
|
||||
static void m_nickserv(struct Client *client_p, struct Client *source_p,
|
||||
int parc, char *parv[])
|
||||
{
|
||||
send_alias(NICKSERV, client_p, source_p, parc, parv);
|
||||
}
|
||||
|
||||
/*
|
||||
* m_identify
|
||||
* identify for a nickname or channel
|
||||
* parv[0] = sender prefix
|
||||
* parv[1] = if *parv[1][1] = # it a password for a channel, otherwise a nickserv password
|
||||
* parv[2] = if its a channel password, its the actual password
|
||||
*/
|
||||
static void m_identify(struct Client *client_p, struct Client *source_p,
|
||||
int parc, char *parv[])
|
||||
{
|
||||
struct Client *target_p;
|
||||
|
||||
if (parv[1][0] == '#') {
|
||||
/* its a channel password */
|
||||
target_p = find_person(CHANSERV);
|
||||
if ((target_p != NULL) && (IsServices(target_p))) {
|
||||
/* send the message */
|
||||
sendto_one(target_p, ":%s PRIVMSG %s!%s@%s :identify %s", source_p->name, target_p->name, target_p->username, target_p->host, parv[1]);
|
||||
return;
|
||||
} else {
|
||||
sendto_one(source_p, ":%s 440 %s %s :Services are currently down. Please try again later.", me.name, source_p->name, CHANSERV);
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
/* its a nickserv password */
|
||||
target_p = find_person(NICKSERV);
|
||||
if ((target_p != NULL) && (IsServices(target_p))) {
|
||||
/* send the message */
|
||||
sendto_one(target_p, ":%s PRIVMSG %s!%s@%s :identify %s", source_p->name, target_p->name, target_p->username, target_p->host, parv[1]);
|
||||
return;
|
||||
} else {
|
||||
sendto_one(source_p, ":%s 440 %s %s :Services are currently down. Please try again later.", me.name, source_p->name, NICKSERV);
|
||||
return;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* m_statserv
|
||||
* send a message to statserv
|
||||
* parv[0] = sender prefix
|
||||
* parv[1+++] = commands to send
|
||||
*/
|
||||
static void m_statserv(struct Client *client_p, struct Client *source_p,
|
||||
int parc, char *parv[])
|
||||
{
|
||||
send_alias(STATSERV, client_p, source_p, parc, parv);
|
||||
}
|
||||
|
||||
/*
|
||||
* m_operserv
|
||||
* send a message to operserv
|
||||
* parv[0] = sender prefix
|
||||
* parv[1+++] = commands to send
|
||||
*/
|
||||
static void m_operserv(struct Client *client_p, struct Client *source_p,
|
||||
int parc, char *parv[])
|
||||
{
|
||||
send_alias(OPERSERV, client_p, source_p, parc, parv);
|
||||
}
|
||||
|
||||
/*
|
||||
* m_hostserv
|
||||
* send a message to hostserv
|
||||
* parv[0] = sender prefix
|
||||
* parv[1+++] = commands to send
|
||||
*/
|
||||
static void m_hostserv(struct Client *client_p, struct Client *source_p,
|
||||
int parc, char *parv[])
|
||||
{
|
||||
send_alias(HOSTSERV, client_p, source_p, parc, parv);
|
||||
}
|
||||
|
||||
|
||||
static void send_alias (char *who, struct Client *client_p, struct Client *source_p,
|
||||
int parc, char *parv[])
|
||||
{
|
||||
struct Client *target_p;
|
||||
|
||||
target_p = find_person(who);
|
||||
|
||||
/* if we found the target and they are set as Services, send it, otherwise send a services not online numeric */
|
||||
|
||||
if ((target_p != NULL) && (IsServices(target_p))) {
|
||||
/* send the message */
|
||||
sendto_one(target_p, ":%s PRIVMSG %s!%s@%s :%s", source_p->name, target_p->name, target_p->username, target_p->host, parv[1]);
|
||||
} else {
|
||||
sendto_one(source_p, ":%s 440 %s %s :Services are currently down. Please try again later.", me.name, source_p->name, who);
|
||||
return;
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_away.c: Sets/removes away status on a user.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_away.c,v 1.3 2002/09/02 04:10:59 fishwaldo Exp $
|
||||
* $Id: m_away.c,v 1.4 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -55,7 +55,7 @@ _moddeinit(void)
|
|||
{
|
||||
mod_del_cmd(&away_msgtab);
|
||||
}
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
const char *_version = "$Revision: 1.4 $";
|
||||
#endif
|
||||
/***********************************************************************
|
||||
* m_away() - Added 14 Dec 1988 by jto.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_away.c: Negotiates capabilities with a remote server.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_capab.c,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: m_capab.c,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -51,7 +51,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&capab_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.2 $";
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_cburst.c: Bursts a channel to a lazy-link from the hub.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_cburst.c,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: m_cburst.c,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -60,7 +60,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&cburst_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.2 $";
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
#endif
|
||||
/*
|
||||
** m_cburst
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_challenge.c: Allows an IRC Operator to securely authenticate.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_challenge.c,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: m_challenge.c,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -55,7 +55,7 @@ _moddeinit(void)
|
|||
return;
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.2 $";
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
#endif
|
||||
#else
|
||||
|
||||
|
@ -80,7 +80,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&challenge_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.2 $";
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
#endif
|
||||
/*
|
||||
* m_challenge - generate RSA challenge for wouldbe oper
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_close.c: Closes all unregistered connections.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_close.c,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: m_close.c,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -54,7 +54,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&close_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.2 $";
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
#endif
|
||||
/*
|
||||
* mo_close - CLOSE message handler
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_connect.c: Connects to a remote IRC server.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_connect.c,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: m_connect.c,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -61,7 +61,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&connect_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.2 $";
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
#endif
|
||||
/*
|
||||
* mo_connect - CONNECT command handler
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_cryptlink.c: Used to negotiate an encrypted link.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_cryptlink.c,v 1.3 2002/09/02 04:10:59 fishwaldo Exp $
|
||||
* $Id: m_cryptlink.c,v 1.4 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -68,7 +68,7 @@
|
|||
void _modinit(void) {}
|
||||
void _moddeinit(void) {}
|
||||
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
const char *_version = "$Revision: 1.4 $";
|
||||
#endif
|
||||
#else
|
||||
|
||||
|
@ -114,7 +114,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&cryptlink_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
const char *_version = "$Revision: 1.4 $";
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_dmem.c: Sends(or saves) a memory debugging list.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_dmem.c,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: m_dmem.c,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -59,7 +59,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&dmem_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.2 $";
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
#endif
|
||||
#ifdef MEMDEBUG
|
||||
void ReportAllocated(struct Client*);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_drop.c: Lets a lazylink indicate it no longer knows a channel.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_drop.c,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: m_drop.c,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -60,7 +60,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&drop_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.2 $";
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
#endif
|
||||
/*
|
||||
** ms_drop
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_eob.c: Signifies the end of a server burst.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_eob.c,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: m_eob.c,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -54,7 +54,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&eob_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.2 $";
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
#endif
|
||||
/*
|
||||
* ms_eob - EOB command handler
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_gline.c: Votes towards globally banning a mask.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_gline.c,v 1.4 2002/09/12 05:45:19 fishwaldo Exp $
|
||||
* $Id: m_gline.c,v 1.5 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -95,7 +95,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&gline_msgtab[1]);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.4 $";
|
||||
const char *_version = "$Revision: 1.5 $";
|
||||
#endif
|
||||
/*
|
||||
* mo_gline()
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_help.c: Provides help information to a user/operator.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_help.c,v 1.3 2002/09/02 04:10:59 fishwaldo Exp $
|
||||
* $Id: m_help.c,v 1.4 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -67,7 +67,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&uhelp_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
const char *_version = "$Revision: 1.4 $";
|
||||
#endif
|
||||
/*
|
||||
* m_help - HELP message handler
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_info.c: Sends information about the server.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_info.c,v 1.4 2002/09/02 04:10:59 fishwaldo Exp $
|
||||
* $Id: m_info.c,v 1.5 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -69,7 +69,7 @@ _moddeinit(void)
|
|||
hook_del_event("doing_info");
|
||||
mod_del_cmd(&info_msgtab);
|
||||
}
|
||||
const char *_version = "$Revision: 1.4 $";
|
||||
const char *_version = "$Revision: 1.5 $";
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_invite.c: Invites the user to join a channel.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_invite.c,v 1.5 2002/09/02 04:10:59 fishwaldo Exp $
|
||||
* $Id: m_invite.c,v 1.6 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -61,7 +61,7 @@ _moddeinit(void)
|
|||
mod_del_cmd(&invite_msgtab);
|
||||
}
|
||||
|
||||
const char *_version = "$Revision: 1.5 $";
|
||||
const char *_version = "$Revision: 1.6 $";
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_ison.c: Provides a single line answer of whether a user is online.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_ison.c,v 1.2 2002/08/13 14:45:11 fishwaldo Exp $
|
||||
* $Id: m_ison.c,v 1.3 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -61,7 +61,7 @@ _moddeinit(void)
|
|||
{
|
||||
mod_del_cmd(&ison_msgtab);
|
||||
}
|
||||
const char *_version = "$Revision: 1.2 $";
|
||||
const char *_version = "$Revision: 1.3 $";
|
||||
#endif
|
||||
|
||||
static char buf[BUFSIZE];
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
|
||||
* NeoIRCd: NeoStats Group. Based on Hybird7
|
||||
* m_join.c: Joins a channel.
|
||||
*
|
||||
* Copyright (C) 2002 by the past and present ircd coders, and others.
|
||||
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA
|
||||
*
|
||||
* $Id: m_join.c,v 1.6 2002/09/02 07:41:15 fishwaldo Exp $
|
||||
* $Id: m_join.c,v 1.7 2002/09/13 06:50:06 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
#include "stdinc.h"
|
||||
|
@ -64,7 +64,7 @@ _moddeinit(void)
|
|||
{
|
||||
mod_del_cmd(&join_msgtab);
|
||||
}
|
||||
const char *_version = "$Revision: 1.6 $";
|
||||
const char *_version = "$Revision: 1.7 $";
|
||||
|
||||
#endif
|
||||
static void do_join_0(struct Client *client_p, struct Client *source_p);
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Reference in a new issue