]> jfr.im git - irc/quakenet/newserv.git/log
irc/quakenet/newserv.git
17 years agorenamed failedinit -> cffailedinit
Paul [Sun, 3 Jun 2007 16:20:39 +0000 (16:20 +0000)] 
renamed failedinit -> cffailedinit

17 years agotidy up from last nights bits, move chanservdb_updates -> chanserv
Paul [Sun, 3 Jun 2007 12:51:54 +0000 (12:51 +0000)] 
tidy up from last nights bits, move chanservdb_updates -> chanserv

17 years ago*sigh*
Paul [Sun, 3 Jun 2007 00:18:35 +0000 (00:18 +0000)] 
*sigh*

17 years agoFix IPv4 generated addresses (whilst I believe they translate to same IP (in text...
Paul [Sun, 3 Jun 2007 00:12:41 +0000 (00:12 +0000)] 
Fix IPv4 generated addresses (whilst I believe they translate to same IP (in text form), ip tree treats it differently. Add dummy nodecount module

An IP node, now contains a int of the number of users on a host as well as the number of times the ipnode is referenced

17 years agomerge
Paul [Sat, 2 Jun 2007 23:49:51 +0000 (23:49 +0000)] 
merge

17 years agofree the duplicate string
Paul [Sat, 2 Jun 2007 23:48:31 +0000 (23:48 +0000)] 
free the duplicate string

17 years agoAdd chanlev,account,authhistory.
Paul [Sat, 2 Jun 2007 23:28:49 +0000 (23:28 +0000)] 
Add chanlev,account,authhistory.

NOTE: TODO: authhistory still needs tidying as discussed -
[19:15:36] <splidge3> load in authname, accountts, lastseen, logoff, numeric
[19:15:51] <splidge3> if logoff is set, display "AUTHNAME logged in at ACCOUNTTS and out at LOGOFF"
[19:16:08] <splidge3> if logoff isn't set but lastseen is, look at "numeric" on the network and see if it matches the stated authsession
[19:16:25] <splidge3> if it does, then there was a split and it came back, so just display "AUTHNAME logged in at ACCOUNTTS and is still here"
[19:16:47] <splidge3> otherwise you can say "AUTHNAME logged in at ACCOUNTTS and disappeared at LASTSEEN, maybe to return or maybe not"

17 years agooops + modify makefile to build chanservdb_update seperately
Paul [Sat, 2 Jun 2007 23:05:45 +0000 (23:05 +0000)] 
oops + modify makefile to build chanservdb_update seperately

17 years agomerge
Paul [Sat, 2 Jun 2007 23:01:49 +0000 (23:01 +0000)] 
merge

17 years agoadd initial spewdomain function for mail domains
Paul [Sat, 2 Jun 2007 23:01:14 +0000 (23:01 +0000)] 
add initial spewdomain function for mail domains

17 years agoadd mail domains.
Paul [Sat, 2 Jun 2007 22:59:07 +0000 (22:59 +0000)] 
add mail domains.

NOTE: need to add support for 'banned' domains

17 years agomerge
splidge [Sat, 2 Jun 2007 22:51:04 +0000 (23:51 +0100)] 
merge

17 years agoonly send suspend reason if its set
Paul [Sat, 2 Jun 2007 22:24:41 +0000 (22:24 +0000)] 
only send suspend reason if its set

17 years agoCreate "unban" command in chanserv as an alias for "bandel".
splidge [Sat, 2 Jun 2007 21:59:26 +0000 (22:59 +0100)] 
Create "unban" command in chanserv as an alias for "bandel".

17 years agoUSet/Clear flag, and cleanupexempt flag
Paul [Sat, 2 Jun 2007 21:48:41 +0000 (21:48 +0000)] 
USet/Clear flag, and cleanupexempt flag

17 years agoadd whoami alias
Paul [Sat, 2 Jun 2007 20:46:20 +0000 (20:46 +0000)] 
add whoami alias

17 years agoadd cleanupdb command
Paul [Sat, 2 Jun 2007 20:45:37 +0000 (20:45 +0000)] 
add cleanupdb command

17 years agoadd version command + #define for version number
Paul [Sat, 2 Jun 2007 19:51:32 +0000 (19:51 +0000)] 
add version command + #define for version number

17 years agopassword rules
Paul [Sat, 2 Jun 2007 19:41:35 +0000 (19:41 +0000)] 
password rules

17 years agoAdded CIDR ban support.
splidge [Sat, 2 Jun 2007 19:29:44 +0000 (20:29 +0100)] 
Added CIDR ban support.

unsigned ints for mask and ipaddr have been added to the chanban structure.
If a CIDR or exact IP ban is detected, these are filled in and subsequently
used during ban matching.

A fix to channel.c to enable "reload channel" to work has also crept in, as
well as a 4-line rewrite of some retarded code in channel.c

17 years agoIf you use nsmalloc() you need to use nsfree() as well...
splidge [Sat, 2 Jun 2007 16:50:26 +0000 (17:50 +0100)] 
If you use nsmalloc() you need to use nsfree() as well...

17 years agoMake valgrind a bit happier.
splidge [Sat, 2 Jun 2007 16:23:07 +0000 (17:23 +0100)] 
Make valgrind a bit happier.

Added some new pools to nsmalloc.
Updated nick and sstring to use nsmalloc.
Changed chanservdb to use nsmalloc instead of its previous similar thing.
Made the core free up the sstring memory when it exits, and also check for
any outstanding blocks in nsmalloc.

Sundry change to allow opers to override chanserv commands by default snuck
in too.

17 years agoMergey merge.
splidge [Sat, 2 Jun 2007 16:18:04 +0000 (17:18 +0100)] 
Mergey merge.

17 years agoChanged __init and __fini to _init and _fini. Guess we didn't really need
splidge [Sat, 2 Jun 2007 16:17:13 +0000 (17:17 +0100)] 
Changed __init and __fini to _init and _fini.  Guess we didn't really need
the init code huh? :)

17 years agomerge
Paul [Sat, 2 Jun 2007 16:13:44 +0000 (16:13 +0000)] 
merge

17 years agoallow reasons to be specified when parting a channel
Paul [Sat, 2 Jun 2007 16:13:18 +0000 (16:13 +0000)] 
allow reasons to be specified when parting a channel

17 years agoAdd part reasons to lua local users.
Chris Porter [Sat, 2 Jun 2007 15:56:10 +0000 (16:56 +0100)] 
Add part reasons to lua local users.

17 years agoUpdate .hgignore.
Chris Porter [Sat, 2 Jun 2007 15:53:26 +0000 (16:53 +0100)] 
Update .hgignore.

17 years agoFix lua warnings.
Chris Porter [Sat, 2 Jun 2007 15:50:27 +0000 (16:50 +0100)] 
Fix lua warnings.

17 years agoPut the orphaned authlib.c file into its own module for now.
splidge [Sat, 2 Jun 2007 14:03:03 +0000 (15:03 +0100)] 
Put the orphaned authlib.c file into its own module for now.

17 years agoMade the "rehash" command actually rehash the modules.
splidge [Sat, 2 Jun 2007 14:02:38 +0000 (15:02 +0100)] 
Made the "rehash" command actually rehash the modules.

17 years agoMore chanserv refactoring
splidge [Sat, 2 Jun 2007 13:38:06 +0000 (14:38 +0100)] 
More chanserv refactoring

The previously monolithic "chancmds.c", "usercmds.c", and "authcmds.c" files
have been split up into multiple files in new directories "chancmds",
"usercmds" and "authcmds".

Each command source file now has a comment header which contains tags
indicating the name of the command, the level required to use it, the
maximum argument count, a short description and the name of the command
function to be called.  A perl script has been added which reads these tags
and automatically generates a file called "commandlist.c" which sets up
appropriate _init() and _fini() functions for the module.  The perl script
also generates the Makefile, so if you add a command it will be added to the
Makefile automatically.  The perl script will emit warnings if tags are
incomplete and not include that file.

A perl script called "refactor.pl" has been added which assists in the
splitting up process.  This was used to generate the new individual files in
each directory.  You may find it useful if you have locally added your own
commands to one of the old monolithic files and want it to automatically
generate new individual files for you.  Note it's not perfect, in particular
it won't notice if you have defined helper functions as well as your main
command function, so don't overwrite the checked-in version of files with
ones generated by refactor.pl unless you have made changes to the relevant
command and have checked it first.

If you want to register command aliases, create a dummy .c file with
appropriate tags (see authcmds/auth.c for an example).

17 years agoChanserv refactoring
splidge [Sat, 2 Jun 2007 11:33:03 +0000 (12:33 +0100)] 
Chanserv refactoring

The main change is that the database has been pulled into a separate module.
It now uses the psql module for database services.  With the other
refactoring changes to the newserv core, the chanservdb module is now
completely independent of the irc module - so the entire IRC stack can be
restarted without reloading the chanserv database.

Moved the database items into a subdirectory to make things tidier - other
sections will follow in time.

Also changed the top-level Makefile to support modules with their own
specific clean requirements - just add a "clean" target to the
subdirectory's Makefile and then add it to the CLEANDIRS list in the
top-level Makefile.

17 years agoAdded code to prevent attempts to set bans which are enclosed by others
splidge [Sat, 2 Jun 2007 11:26:43 +0000 (12:26 +0100)] 
Added code to prevent attempts to set bans which are enclosed by others
already on the channel by local users.

17 years agoAdded some new pool IDs.
splidge [Sat, 2 Jun 2007 11:25:36 +0000 (12:25 +0100)] 
Added some new pool IDs.

17 years agoFactored out the ban code into a separate module.
splidge [Sat, 2 Jun 2007 11:24:48 +0000 (12:24 +0100)] 
Factored out the ban code into a separate module.

This allows modules that want to use the chanban structure to represent bans
to work without the channel module being loaded.

17 years agoGeneric table loader for pqsql module
Cruicky [Sat, 2 Jun 2007 11:09:54 +0000 (12:09 +0100)] 
Generic table loader for pqsql module

17 years agoTidied up nsmalloc() to use C99 extendable structs.
splidge [Sat, 2 Jun 2007 00:21:04 +0000 (01:21 +0100)] 
Tidied up nsmalloc() to use C99 extendable structs.

17 years agoAdded a clean shutdown facility.
splidge [Sat, 2 Jun 2007 00:04:32 +0000 (01:04 +0100)] 
Added a clean shutdown facility.

A facility to unload all modules and exit has been added - just set
newserv_shutdown_pending to 1 and the main loop will trigger an exit next
time round.

Updated control's DIE command to use this.

17 years agoTwo small enhancements to depmod.pl
splidge [Sat, 2 Jun 2007 00:02:52 +0000 (01:02 +0100)] 
Two small enhancements to depmod.pl

depmod.pl will now print out an error message if it detects a circular
dependency.

Also, depmod.pl now supports the -v or --verbose switch which causes it to
print out each individual symbol dependency - so you can see why one module
depends on another.

17 years agoSeparated the authext functionality from the nick module.
splidge [Fri, 1 Jun 2007 23:59:31 +0000 (00:59 +0100)] 
Separated the authext functionality from the nick module.

The new authext module does not depend on the irc module, which allows
modules which attach items to authexts to not depend on irc.  Perfect for
allowing the IRC module to be reloaded without having to reload your service
database.

17 years agoSeperated the chanindex functionality into a separate module.
splidge [Fri, 1 Jun 2007 23:56:52 +0000 (00:56 +0100)] 
Seperated the chanindex functionality into a separate module.

The chanindex module does not depend on IRC, which allows modules which
attach to chanindexes to not depend on IRC either.  Useful for (e.g.)
allowing the IRC stack to be restarted without reloading a service database.

17 years agoAdded "nsmalloc" to the core.
splidge [Fri, 1 Jun 2007 23:54:55 +0000 (00:54 +0100)] 
Added "nsmalloc" to the core.

This is a simple malloc() wrapper which supports "pools".  It is possible to
free all allocations belonging to a given pool at the same time - perfect
for stopping modules from leaking memory.

If you want to use this in your module, add a #define to nsmalloc.h to grab
a number.

17 years agoOK, so my last patch was bullshit. Changed to make it more obvious what's
splidge [Fri, 1 Jun 2007 18:08:36 +0000 (19:08 +0100)] 
OK, so my last patch was bullshit.  Changed to make it more obvious what's
going on.

17 years agoFixed what looks like a typo in the standard async query #define.
splidge [Fri, 1 Jun 2007 14:56:51 +0000 (15:56 +0100)] 
Fixed what looks like a typo in the standard async query #define.

17 years agoAdded "HOOK_CORE_STOPERROR" which is triggered immediately before Error()
splidge [Fri, 1 Jun 2007 14:47:30 +0000 (15:47 +0100)] 
Added "HOOK_CORE_STOPERROR" which is triggered immediately before Error()
calls exit for ERR_STOP events.

This allows modules to take any emergency action they can before the service
dies.

17 years agoFixed pqsql.c so it compiles again :(.
splidge [Fri, 1 Jun 2007 14:45:35 +0000 (15:45 +0100)] 
Fixed pqsql.c so it compiles again :(.

17 years agoChanged pqsql to cope with queries longer than SSTRING_MAX in length.
splidge [Fri, 1 Jun 2007 14:38:06 +0000 (15:38 +0100)] 
Changed pqsql to cope with queries longer than SSTRING_MAX in length.

sstrings will still be used for shorter queries.

Also changed the infamous malloc nullcheck to an ERR_STOP event.

17 years agoDemoted the routine delayed kick/kill messages to ERR_DEBUG.
splidge [Fri, 1 Jun 2007 14:35:04 +0000 (15:35 +0100)] 
Demoted the routine delayed kick/kill messages to ERR_DEBUG.
The exceptional cases remain ERR_INFO.

17 years agoUpgraded some ERR_FATAL errors to ERR_STOP.
splidge [Fri, 1 Jun 2007 14:31:54 +0000 (15:31 +0100)] 
Upgraded some ERR_FATAL errors to ERR_STOP.

17 years agoAdded error severity guidelines.
splidge [Fri, 1 Jun 2007 14:13:01 +0000 (15:13 +0100)] 
Added error severity guidelines.

17 years agoAdded new error category ERR_STOP. This is flagged as a "terminal error"
splidge [Fri, 1 Jun 2007 13:56:39 +0000 (14:56 +0100)] 
Added new error category ERR_STOP.  This is flagged as a "terminal error"
and exits the program if it occurs.

17 years agoAdded externally-visible SSTRING_MAX define.
splidge [Fri, 1 Jun 2007 09:54:49 +0000 (10:54 +0100)] 
Added externally-visible SSTRING_MAX define.

This allows things which might need to allocate very long strings (like,
say, database queries) to decide whether to use a sstring or allocate
their own.

17 years agoMade control clean up its commandtree on exit.
splidge [Fri, 1 Jun 2007 09:33:20 +0000 (10:33 +0100)] 
Made control clean up its commandtree on exit.

It might be redundant to remove all those commands individually and then
call "destroycommandtree", but it means in future we can check the tree is
empty as a way of detecting leaks.

17 years agoMade localuser deregister its server message handlers on exit.
splidge [Fri, 1 Jun 2007 09:31:40 +0000 (10:31 +0100)] 
Made localuser deregister its server message handlers on exit.

17 years agoMerge
Cruicky [Thu, 31 May 2007 23:30:55 +0000 (00:30 +0100)] 
Merge

17 years agoCompiler warning fixes
Cruicky [Thu, 31 May 2007 23:23:54 +0000 (00:23 +0100)] 
Compiler warning fixes

17 years agoA few sundry changes:
splidge [Thu, 31 May 2007 22:55:09 +0000 (23:55 +0100)] 
A few sundry changes:

Added an authname extension, and associated users with it when they are
created or loaded.  Changed all existing "find user by ID" code to use the
authnameext.

Don't bother printing "Channel type: (unspecified)" on chanlev.

17 years agoUpdated .hgignore to ignore backup files
splidge [Thu, 31 May 2007 22:52:40 +0000 (23:52 +0100)] 
Updated .hgignore to ignore backup files

17 years agoMake control sign off properly when it is unloaded. There might be other
splidge [Thu, 31 May 2007 22:51:42 +0000 (23:51 +0100)] 
Make control sign off properly when it is unloaded.  There might be other
leaks too, but at least it doesn't core now...

17 years agoMade the dependency system fail a bit more gracefully if a parent module
splidge [Thu, 31 May 2007 22:32:46 +0000 (23:32 +0100)] 
Made the dependency system fail a bit more gracefully if a parent module
cannot be found.

Also removed some compiler warnings.

17 years agoMerged authexts with ipv6 changes.
splidge [Thu, 31 May 2007 19:50:06 +0000 (20:50 +0100)] 
Merged authexts with ipv6 changes.

17 years agoAdded support for remembering the oldest-ever timestamp seen for a channel.
splidge [Thu, 31 May 2007 14:46:59 +0000 (15:46 +0100)] 
Added support for remembering the oldest-ever timestamp seen for a channel.
Added to the database with a function to change the timestamp entry on a
channel when needed.

This timestamp is then used when we need to join a channel - the
localburstontochannel() function is used with that timestamp as an argument.
This means we can get the ircd to enforce the sanctity of +i/+k channels via
the netrider code, and also take care of rogue topics, ops, bans and the
like.

Also two unrelated fixes - one to save when we automatically remove +k from
forcemodes because no key was set, and another to prevent the wrong
maxuserid being recorded during load.

17 years agoAdded "localburstontochannel" function. This allows a burst message to be
splidge [Thu, 31 May 2007 14:40:33 +0000 (15:40 +0100)] 
Added "localburstontochannel" function.  This allows a burst message to be
sent in order to change the channel's timestamp and modes, and optionally
join the specified user onto the channel as well.

This has the following effects, which are entirely determined by how the
remote ircd is going to interpret the burst message:

If the timestamp is older than the existing one:
 * All users are deopped and devoiced
 * All bans are removed
 * Modes are set to the ones specified
 * The named user (if any) is added as the sole op
 * Note that if the set modes include +k or +i, all users will be kicked off
   the channel by the net rider code.  This is handled by the remote ircus
   though.

If the timestamps are equal:
 * Existing users and bans are unaffected.
 * Modes are unchanged - if we try to change them remote ircus will just
   merge the two sets of modes which is icky.  You will have to change modes
   via a separate mode command (which would be the only way to remove modes
   in any case).
 * The named user (if any) is added as an op.

If the provided timestamp is newer than the existing one:
 * The code will bail out and do a join (so if no user was specified it will
   do nothing).  None of the other effects can be achieved via a burst with
   a newer timestamp.

At the moment the code doesn't support non-existing channels (the first
argument needs to be a pre-existing channel *).

17 years agoChange the symbol clash warnings to WARNING rather than Error since they are
splidge [Wed, 30 May 2007 22:31:07 +0000 (23:31 +0100)] 
Change the symbol clash warnings to WARNING rather than Error since they are
non-fatal.

17 years agoMerged.
splidge [Wed, 30 May 2007 22:27:42 +0000 (23:27 +0100)] 
Merged.

17 years agoAdded "safe reload" support to the module core - you can now reload ANYTHING
splidge [Wed, 30 May 2007 22:26:46 +0000 (23:26 +0100)] 
Added "safe reload" support to the module core - you can now reload ANYTHING
down to the "irc" module.

Added some deregisterhook() calls which were missing in various places to
make this actually work.

17 years agoMerge
Chris Porter [Wed, 30 May 2007 22:21:05 +0000 (23:21 +0100)] 
Merge

17 years agoAdded support for +T and +M modes (mode tracking only - we don't actually do
splidge [Wed, 30 May 2007 21:59:19 +0000 (22:59 +0100)] 
Added support for +T and +M modes (mode tracking only - we don't actually do
anything with them, but then I don't think it's needed on services).

17 years agoUpdate .hgignore.
Chris Porter [Wed, 30 May 2007 21:47:45 +0000 (22:47 +0100)] 
Update .hgignore.

17 years agoRemoved another bogus include of error.c
splidge [Wed, 30 May 2007 21:31:08 +0000 (22:31 +0100)] 
Removed another bogus include of error.c

17 years agoFix the deliberate mistake in the special reload function :P.
splidge [Wed, 30 May 2007 21:13:22 +0000 (22:13 +0100)] 
Fix the deliberate mistake in the special reload function :P.

17 years agoMerged.
splidge [Wed, 30 May 2007 21:11:18 +0000 (22:11 +0100)] 
Merged.

17 years agoAdded module dependency support.
splidge [Wed, 30 May 2007 21:09:54 +0000 (22:09 +0100)] 
Added module dependency support.

In order for this to work you need to arrange for a modules.dep file to
exist in the same place as your modules.  To create this file, cd to the
module directory and run depmod.pl from there.  Note that the default
Makefile will do this for you on "make install".

Things should fallback gracefully if you lack a modules.dep file (but then
you won't get the benefit of course).

insmod() now automatically loads needed modules first.
rmmod() now automatically removes dependent modules first.
New functions preparereload() and reloadmarked() can be used either side of
a reload to mark dependent modules which are to be removed, and then reload
them, respectively.  control and noperserv's reload methods have been
updated to use these as appropriate.

17 years agoMake things look a little bit prettier when displaying times which are an
splidge [Wed, 30 May 2007 21:06:11 +0000 (22:06 +0100)] 
Make things look a little bit prettier when displaying times which are an
exact number of days.

17 years agoDon't build control-lite.so by default; it messes up dependencies.
splidge [Wed, 30 May 2007 21:05:01 +0000 (22:05 +0100)] 
Don't build control-lite.so by default; it messes up dependencies.

17 years agoHide compiler warnings.
Chris Porter [Wed, 30 May 2007 20:00:21 +0000 (21:00 +0100)] 
Hide compiler warnings.

17 years agoAdded "extern" tag to hookqueuelength and real copy to hooks.c
splidge [Wed, 30 May 2007 19:55:00 +0000 (20:55 +0100)] 
Added "extern" tag to hookqueuelength and real copy to hooks.c

17 years agomerge
Paul [Wed, 30 May 2007 20:01:45 +0000 (20:01 +0000)] 
merge

17 years agoderefnode on kill
Paul [Wed, 30 May 2007 19:59:47 +0000 (19:59 +0000)] 
derefnode on kill

17 years agomerge
Paul [Wed, 30 May 2007 19:51:59 +0000 (19:51 +0000)] 
merge

17 years agochanged np->ipaddress to np->p_ipaddr in accordance with pauls new iptree stuff
Ian Barker [Wed, 30 May 2007 19:50:46 +0000 (20:50 +0100)] 
changed np->ipaddress to np->p_ipaddr in accordance with pauls new iptree stuff

17 years agobranched in all of pauls stuff
Ian Barker [Wed, 30 May 2007 19:34:53 +0000 (20:34 +0100)] 
branched in all of pauls stuff

17 years agoOoops, fix the header file too - both changing variable name and adding
splidge [Wed, 30 May 2007 18:31:00 +0000 (19:31 +0100)] 
Ooops, fix the header file too - both changing variable name and adding
"extern".

17 years agoAvoid use of conflicting global variable name "lastsample".
splidge [Wed, 30 May 2007 18:28:35 +0000 (19:28 +0100)] 
Avoid use of conflicting global variable name "lastsample".

17 years agoAvoiding use of conflicting global variable name "starttime".
splidge [Wed, 30 May 2007 18:26:39 +0000 (19:26 +0100)] 
Avoiding use of conflicting global variable name "starttime".

17 years agoFixed bogus include of error.c to error.h
splidge [Wed, 30 May 2007 18:23:56 +0000 (19:23 +0100)] 
Fixed bogus include of error.c to error.h

17 years agoAvoid use of overloaded "listenfd" global variable name.
splidge [Wed, 30 May 2007 15:13:11 +0000 (16:13 +0100)] 
Avoid use of overloaded "listenfd" global variable name.

17 years agoAvoid use of overloaded "sqlconnected" global variable name.
splidge [Wed, 30 May 2007 15:11:44 +0000 (16:11 +0100)] 
Avoid use of overloaded "sqlconnected" global variable name.

17 years agomerge
splidge [Wed, 30 May 2007 15:09:23 +0000 (16:09 +0100)] 
merge

17 years agoFix up problem caused by previous fix :).
splidge [Wed, 30 May 2007 15:08:20 +0000 (16:08 +0100)] 
Fix up problem caused by previous fix :).

17 years agomerged.
splidge [Wed, 30 May 2007 15:03:53 +0000 (16:03 +0100)] 
merged.

17 years agoPrevent every file that includes control/control.h generating a useless
splidge [Wed, 30 May 2007 15:03:11 +0000 (16:03 +0100)] 
Prevent every file that includes control/control.h generating a useless
global called "specialsched"...

17 years agoAuth extensions
Cruicky [Wed, 30 May 2007 14:15:42 +0000 (15:15 +0100)] 
Auth extensions

17 years agochanged gline function to gline *@ip for <= NSMAX_GLINE_CLONES (set to 5), else gline...
Ian Barker [Wed, 30 May 2007 10:21:50 +0000 (11:21 +0100)] 
changed gline function to gline *@ip for <= NSMAX_GLINE_CLONES (set to 5), else gline user@ip - fix to not twat trusted hosts.

17 years agoadded malloc checking to everything (includes error reson). updated kill/gline wallop...
Ian Barker [Wed, 30 May 2007 10:05:42 +0000 (11:05 +0100)] 
added malloc checking to everything (includes error reson). updated kill/gline wallops msg to reflect hitting of +X/+k/+o users in totals.

17 years agoremoved usless nodes datatype from kill_localdata/gline_localdata (+ corresponding...
Ian Barker [Wed, 30 May 2007 01:28:02 +0000 (02:28 +0100)] 
removed usless nodes datatype from kill_localdata/gline_localdata (+ corresponding code in _exe/_free)

17 years agoadded gline time support as (and (channel #tlz) (gline 2w)). changed gline format...
Ian Barker [Wed, 30 May 2007 00:56:52 +0000 (01:56 +0100)] 
added gline time support as (and (channel #tlz) (gline 2w)). changed gline format to asuka (from snircd test server).
added global oper notification of use of kill/gline functions.

17 years agoadded the actuall files that do all the leg work for (gline) and (kill) - all tested...
Ian Barker [Wed, 30 May 2007 00:13:40 +0000 (01:13 +0100)] 
added the actuall files that do all the leg work for (gline) and (kill) - all tested and working

17 years agomerge
Paul [Wed, 30 May 2007 00:05:57 +0000 (00:05 +0000)] 
merge