ircu2.10.12-pk.git
24 years agoAuthor: ZenShadow
Perry Lorier [Sun, 30 Apr 2000 12:00:07 +0000 (12:00 +0000)]
Author: ZenShadow
Log message:

Change the IPcheck API.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@222 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer / ZenShadow
Perry Lorier [Sun, 30 Apr 2000 11:39:24 +0000 (11:39 +0000)]
Author: Isomer / ZenShadow
Log message:

fix for m_invite by HeKTiK/Isomer

IPcheck cleanups by ZenShadow

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@221 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer / ZenShadow
Perry Lorier [Sun, 30 Apr 2000 10:22:15 +0000 (10:22 +0000)]
Author: Isomer / ZenShadow
Log message:

I fixed some minor bugs
ZenShadow cleaned up some stuff.

It's a bug, blame ZenShadow.
If it's a welcome feature I'll take the credit.  <grin!>

Thanks :)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@220 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: ZenShadow <grep@doyle.net>
Perry Lorier [Sun, 30 Apr 2000 06:44:27 +0000 (06:44 +0000)]
Author: ZenShadow <grep@doyle.net>
Log message:

Cleanup for ircd.c and CHROOTDIR configuration stuff.

Testing Required:
 * Configuration
 * CHROOT (enabled/disabled)
 * running as root
 * /restart

and associated startup stuff.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@219 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Perry Lorier <isomer@coders.net>
Perry Lorier [Sun, 30 Apr 2000 06:37:52 +0000 (06:37 +0000)]
Author: Perry Lorier <isomer@coders.net>
Log message:

Minor changes.

Fixed bug in m_mode() thanks poptix.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@218 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sun, 30 Apr 2000 01:33:28 +0000 (01:33 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Rewrote JOIN/CREATE/PART routines, fixing a bad JOIN 0 bug in the
process...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@217 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Perry Lorier <isomer@coders.net>
Perry Lorier [Sat, 29 Apr 2000 05:30:05 +0000 (05:30 +0000)]
Author: Perry Lorier <isomer@coders.net>
Log message:

fixing compile errors in debug code.  oops!

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@216 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 29 Apr 2000 04:42:51 +0000 (04:42 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Added debugging statements to IPcheck to try and tickle these ipcheck
bugs and figure out whats going on.

Testing Required:
 * Compile with -DIPCHECKDEBUG and see if you get throttled when you shouldn't.
If you do, note how many 'connections' the server "thinks" you have.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@215 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 28 Apr 2000 17:34:45 +0000 (17:34 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

a couple more of the send.c conversions, and make all those RPL_EXPLICITs
into SND_EXPLICITs

Status: Unstable, needs testing
Testing needed:

Still need to verify all of the command code paths carefully

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@214 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 28 Apr 2000 16:16:06 +0000 (16:16 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

use the new sendcmdto_* stuff for do_numeric, along with fixing a minor
bug in send_reply()

Status: Stable
Testing needed:

This patch has been carefully tested, and should work fine; continual
testing will be necessary, however

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@213 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 28 Apr 2000 15:34:34 +0000 (15:34 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Fix bug in server_estab

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@212 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 28 Apr 2000 15:10:14 +0000 (15:10 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

First bug fixed -- %C requires a client argument

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@211 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 28 Apr 2000 15:04:59 +0000 (15:04 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Lots more conversions

Status: Unstable, needs testing
Testing required:

Pretty much everything now needs to be rigorously tested; compile warnings/
errors have at least been fixed, though.  More to do on this project...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@210 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Perry Lorier <Isomer@coders.net>
Perry Lorier [Thu, 27 Apr 2000 23:05:42 +0000 (23:05 +0000)]
Author: Perry Lorier <Isomer@coders.net>
Log message:

Lotsa minor changes, documented some 'undocumented' features, add more stuff
to RPL_ISUPPORT, add -DNOOPER, Change some of the defaults in make config.
Make some of the error messages a bit more understandable.

Testing Required:
* Check that RELEASE.NOTES is correct.
* Run through make config with no config file and see if everything looks
ok.
* Make sure it compiles :)
* Make sure RPL_ISUPPORT is ok.
* Make sure that servers that aren't defined with HUB or L:'d or don't have
a H: give the right error messages.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@209 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 27 Apr 2000 20:24:12 +0000 (20:24 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Some more conversions, some /* XXX DEAD */ comments, and some debugging

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@208 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 27 Apr 2000 02:08:38 +0000 (02:08 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

more conversions, update write_log, fix a bug in sendcmdto_channel_butserv

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@207 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 26 Apr 2000 21:02:38 +0000 (21:02 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

duh...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@206 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 26 Apr 2000 20:58:38 +0000 (20:58 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/send.c (sendcmdto_flag_butone): explicitly send WALLOPS to
local users

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@205 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 26 Apr 2000 20:14:57 +0000 (20:14 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Lots more sendcmdto_* and send_reply changes; added RPL_EXPLICIT and dealt
with most of those numerics; added sendrawto_one for explicitly sending
without a prefix

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@204 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Tue, 25 Apr 2000 20:33:50 +0000 (20:33 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

document new %C modifiers and define a new %H modifier for channels for
possible future expansion (say, numeric channel names?)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@203 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Tue, 25 Apr 2000 20:22:26 +0000 (20:22 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

More changes to use new sendcmdto_* routines; also simplified them using
new format options

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@202 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 24 Apr 2000 18:50:38 +0000 (18:50 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

The conversion slowly continues

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@201 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 24 Apr 2000 16:34:02 +0000 (16:34 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Slowly starting to switch over to new sendcmdto_* functions and of
course send_reply; so far, the changes have all been (cursorially)
tested

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@200 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 24 Apr 2000 15:08:51 +0000 (15:08 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

I want to get rid of sentalong_marker; I've put comments before all the
sendcmdto_* functions that use it making suggestions on how to get rid
of it for that function.  Comments would be very much appreciated...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@199 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 21 Apr 2000 15:15:18 +0000 (15:15 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

one last sendcmdto_* function to round it all out: sendcmdto_match_butone
(ugh); should be considerably more efficient than sendto_match_butone,
which looped through the GlobalClientList for every single server
connected to this one.  Must have predated sentalong_marker (which
admittedly is also an atrocity :/ )

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@192 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 20 Apr 2000 20:49:08 +0000 (20:49 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Some cleanups to the syntax of the sendcmdto_* functions, add
sendto_opmask_butone, sendcmdto_flag_butone, and vsendto_opmask_butone,
add send_reply and use it

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@191 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 20 Apr 2000 03:09:35 +0000 (03:09 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/send.c: define sendcmdto_channel_butone, wrote a simplified
vsendto_op_mask that uses '*' instead of the receiving client
nickname

* include/send.h: declare sendcmdto_channel_butone; takes a skip
argument that allows you to skip (or not to skip) deaf users,
users behind bursting servers, and non channel operators

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@190 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Poptix <poptix@unknown.net>
Bleep [Tue, 18 Apr 2000 04:02:53 +0000 (04:02 +0000)]
Author: Poptix <poptix@unknown.net>
Log message:
Add instructions for setting up mbuf clusters for server.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@189 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 17 Apr 2000 20:41:57 +0000 (20:41 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

wrote some new sendcmdto_* functions

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@188 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 17 Apr 2000 19:20:07 +0000 (19:20 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Blah, left in bogus debugging code

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@187 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 17 Apr 2000 19:01:35 +0000 (19:01 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

local deactivation of jupes and glines

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@186 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 17 Apr 2000 17:07:01 +0000 (17:07 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/gline.c: detect overlapping G-lines; if an existing, wider
gline expires after the new one will, we drop the new one,
otherwise we add the G-line after that one (so the wide one will
apply first); if the new one contains an existing G-line and if it
will expire after the existing one, we drop the existing one to
save memory

* ircd/m_gline.c (mo_gline): opers could issue remote local
glines when CONFIG_OPERCMDS was off; fixed

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@185 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sun, 16 Apr 2000 05:19:02 +0000 (05:19 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Support dropping the target argument to indicate local JUPEs

(ok, I'll stop now; good night)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@184 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sun, 16 Apr 2000 05:12:02 +0000 (05:12 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

make jupe_add() use a flags argument; add flags arguments (and pass
appropriate values) to jupe/gline_activate/deactivate for future expansion
(local activations and deactivations for global glines)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@183 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sun, 16 Apr 2000 04:37:37 +0000 (04:37 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

oops, missed a couple of things...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@182 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sun, 16 Apr 2000 04:30:42 +0000 (04:30 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

fix for ircd_snprintf assigning negative numbers to a size_t; clean up
expire time handling to use offsets to CurrentTime, since that's definitely
monotonically increasing; remove local jupes/glines instead of simply
deactivating them; forgot one case in sendcmdto_one()

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@181 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Sat, 15 Apr 2000 04:20:14 +0000 (04:20 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Type safety and const correctness cleanups.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@180 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Gte <gte@atomicrevs.demon.co.uk>
Greg Sikorski [Sat, 15 Apr 2000 03:47:32 +0000 (03:47 +0000)]
Author: Gte <gte@atomicrevs.demon.co.uk>
Log message:

Portability fix in userload.c for struct tm.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@179 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 14 Apr 2000 20:42:28 +0000 (20:42 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/m_gline.c (mo_gline): d'oh, target isn't a numeric; use %C
and convert acptr...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@175 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@undernet.org>
Kevin L. Mitchell [Fri, 14 Apr 2000 20:19:41 +0000 (20:19 +0000)]
Author: Kev <klmitch@undernet.org>
Log message:

a couple of misc. bug fixes for gline code, start work on sendcmdto_*
series, include ircd_snprintf in linking (for sendcmdto_*), update gline
and jupe code to utilize the new functions.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@174 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 14 Apr 2000 17:37:01 +0000 (17:37 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Added CONFIG_OPERCMDS to switch things on and off; makes the task of a two-
phase upgrade much simpler.  Using ERR_DISABLED to indicate disabled
commands.  Also some minor cleanups and removal of dead code in m_gline.c
and gline.c.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@173 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 14 Apr 2000 17:08:06 +0000 (17:08 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Mark the bug fixed, btw...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@172 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 14 Apr 2000 16:53:10 +0000 (16:53 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Misc. G-line cleanups and fixes; a cleanup in ircd_snprintf.c; run
autoconf/autoheader and make depend

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@171 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 14 Apr 2000 14:41:04 +0000 (14:41 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/s_conf.c (find_kill): gline_find() takes a char *userhost,
but gline_lookup() actually takes a client--d'oh.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@170 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Run <carlo@alinoe.com>
Joseph Bongaarts [Fri, 14 Apr 2000 14:37:36 +0000 (14:37 +0000)]
Author: Run <carlo@alinoe.com>
Log message:
Bug fix for rpong.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@169 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Fri, 14 Apr 2000 02:56:23 +0000 (02:56 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Back port bug fix from 2.10.10

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@168 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Ghostwolf <foxxe@trms.com>
Joseph Bongaarts [Thu, 13 Apr 2000 22:13:52 +0000 (22:13 +0000)]
Author: Ghostwolf <foxxe@trms.com>
Log message:
Lots of stuff... Part 1 of the m_stats changes, a slew of bug fixes, cleanups
for kev's G:line changes. m_stats still has more changes coming, but I wanted
to make things compilable again.
Added s_stats.c/h for stats helper functions.
The tree compiles now, but probably won't work. There is at least 1 bug in the
gline code left.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@164 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Ghostwolf <foxxe@trms.com>
Joseph Bongaarts [Thu, 13 Apr 2000 21:56:24 +0000 (21:56 +0000)]
Author: Ghostwolf <foxxe@trms.com>
Log message:
Lots of stuff... Part 1 of the m_stats changes, a slew of bug fixes, cleanups
for kev's G:line changes. m_stats still has more changes coming, but I wanted
to make things compilable again.
Added s_stats.c/h for stats helper functions.
The tree compiles now, but probably won't work. There is at least 1 bug in the
gline code left.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@163 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Gte <gte@atomicrevs.demon.co.uk>
Greg Sikorski [Thu, 13 Apr 2000 20:07:13 +0000 (20:07 +0000)]
Author: Gte <gte@atomicrevs.demon.co.uk>
Log message:

* ircd/whocmds.c: Don't make idle flag default in /who, to prevent:
  "/who * x"
  "Gte3 H*iwg Gte@212.49.240.217 :1 :0 I am the one that was."
  (Found by Plexus).

* ircd/whocmds.c: Change idle time calc from socket idle to user idle.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@162 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 13 Apr 2000 19:20:53 +0000 (19:20 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* config/aclocal.m4 (unet_CHECK_TYPE_SIZES): check size of void *,
too, for ircd_snprintf.c

* include/ircd_snprintf.h: documentation for ircd_(v)snprintf, in
comments; mostly descended from the Linux manpage for printf, but
also documenting the extensions.

* ircd/ircd_snprintf.c: NULL dest is equivalent to going to a
client; make 'q' be the same as 'L'; remove __inline__; only
define EXTENSION if HAVE_LONG_LONG is defined

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@161 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 13 Apr 2000 15:58:22 +0000 (15:58 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Ok, with the exception of m_stats, being worked on by GW, this should
complete the actual coding of the gline patch; server still won't
compile until GW commits his changes, though, and I haven't compile-
checked the rest (GW promised to do that ;)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@160 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Gte <gte@atomicrevs.demon.co.uk>
Greg Sikorski [Thu, 13 Apr 2000 05:53:48 +0000 (05:53 +0000)]
Author: Gte <gte@atomicrevs.demon.co.uk>
Log message:

 * tools/Bouncer/*: Add port bouncer for http (x/w)
 * tools/Bouncer/*: Add comments/documentation/tags.
 * tools/Bouncer/*: Add debug defines, make task fork().

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@159 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Thu, 13 Apr 2000 03:49:07 +0000 (03:49 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Cleanup s_err.c, suggested by Liandrin and Dianora.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@158 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Gte <gte@atomicrevs.demon.co.uk>
Bleep [Thu, 13 Apr 2000 02:54:14 +0000 (02:54 +0000)]
Author: Gte <gte@atomicrevs.demon.co.uk>
Log message:
Add port bouncer to tools directory

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@157 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 13 Apr 2000 02:29:53 +0000 (02:29 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

First pass in Uworld integration with respect to G-lines--reimplementation
of the base routines for handling gline lists.  NOTE THAT ALPHA WILL NOT
BE COMPILABLE UNTIL M_GLINE.C IN REWRITTEN!  Hopefully I'll get to that
tomorrow...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@156 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 12 Apr 2000 21:42:33 +0000 (21:42 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

minor typo in a comment

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@155 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 12 Apr 2000 20:53:22 +0000 (20:53 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c (mode_process_clients): fix "Deop of +k user on
%s by %s" message...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@154 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 12 Apr 2000 20:50:12 +0000 (20:50 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/ircd_snprintf.c: my new snprintf()-like functions

* include/ircd_snprintf.h: my new snprintf()-like functions

(look only if you're brave; it makes my head hurt, and I wrote it!)

NOTE: NO SUPPORT FOR PRINTING FLOATING-POINT NUMBERS!  Deal.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@153 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Ghostwolf <foxxe@trms.com>
Joseph Bongaarts [Tue, 11 Apr 2000 23:19:17 +0000 (23:19 +0000)]
Author: Ghostwolf <foxxe@trms.com>
Log message:
Fixed typos, email addresses, and changed Y:line unfo in example.conf
to closer reflect reality.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@150 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Tue, 11 Apr 2000 05:57:24 +0000 (05:57 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Remove dead code after IPcheck cleanup, removed RPL_ERRNOSUCHUSER message
from userhost/userip replies (not in standard)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@149 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Gte- <gte@atomicrevs.demon.co.uk>
Greg Sikorski [Tue, 11 Apr 2000 05:51:25 +0000 (05:51 +0000)]
Author: Gte- <gte@atomicrevs.demon.co.uk>
Log message:

* ircd/s_err.c: Added missing quotes to ERR_DONTCHEAT numeric.
* doc/p10.html: Work on chapter 4.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@148 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 10 Apr 2000 19:10:00 +0000 (19:10 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

list OPMODE and CLEARMODE tokens...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@147 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Mon, 10 Apr 2000 15:29:09 +0000 (15:29 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c (mode_parse_client): fix coredump on /mode
#foobar +o nosuchnick

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@146 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Perry Lorier <isomer@coders.net>
Perry Lorier [Mon, 10 Apr 2000 08:31:33 +0000 (08:31 +0000)]
Author: Perry Lorier <isomer@coders.net>
Log message:

Added bug report.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@145 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Mon, 10 Apr 2000 02:52:52 +0000 (02:52 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Cleanup for IPcheck code fixes

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@143 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Mon, 10 Apr 2000 02:28:31 +0000 (02:28 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Rewrote IPcheck code, add ipcheck expire once a minute to main loop,
cleanup target code a bit.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@142 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sun, 9 Apr 2000 11:53:12 +0000 (11:53 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

2000-04-09  Perry Lorier  <Isomer@coders.net>
* include/numeric.h: Cleaned up numerics, added which ones are
in use by other networks and what they are in use for.

* ircd/channel.c: cleaned can_join(), allow anyone through anything
if /invited, simplified the function.  Opers overusing OPEROVERRIDE
will get a message explaining to them not to cheat.

* ircd/m_join.c: cleaned up the various join functions, should be
a lot more efficient.  Still needs work.  Now assumes that s<->s
won't send it a JOIN 0.  Service coders - note this and tread with
care.

* ircd/m_stats.c: added Gte-'s stats doc patch.

* ircd/m_version.c: /version now returns the 005 numeric as well.
as requested by Liandrin.

Can people beat on this? lots of changes.  test version, remote version, and
join 0, and join in general?

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@141 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Liandrin
Bleep [Sun, 9 Apr 2000 05:32:58 +0000 (05:32 +0000)]
Author: Liandrin
Log message:
Added hashtoy. A tool for processing netbursts to test IP address hashing
algorithms. (perl)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@140 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 7 Apr 2000 16:46:28 +0000 (16:46 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Forgot to include support.h in m_clearmode.c for declaration of write_log();
re-ran make depend

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@139 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 7 Apr 2000 14:53:35 +0000 (14:53 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

files in ircd/crypt moved to tools; ircd/crypt/Makefile renamed to
tools/Makefile.crypt so as to not confuse people who go poking around
in tools; configure changed to reference tools rather than ircd/crypt

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@138 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Thu, 6 Apr 2000 06:50:18 +0000 (06:50 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Sync with changes to 2.10.10.pl6 (shorten auth timeout, localhost to
server alias).

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@137 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Thu, 6 Apr 2000 04:00:28 +0000 (04:00 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Fixed core during check_pings()

Thanks Maniac-.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@134 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Thu, 6 Apr 2000 03:48:04 +0000 (03:48 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Fixed sending wrong ident to channel bug.

Updated some numerics.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@133 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Sun, 2 Apr 2000 23:46:03 +0000 (23:46 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Added docu for ISO date/time string formats, which is what will be used
for expiry strings in configuration files.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@132 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Apr 2000 23:51:18 +0000 (23:51 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

 * another attempt at fixing ping (sigh...)
 * added all the flags to extended who, so you can figure out if someone is
op'd /and/ voice'd on a channel.
 * added %l specifier to list peoples idle time, as requested by iamabot.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@131 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Gte <gte@atomicrevs.demon.co.uk>
Bleep [Sat, 1 Apr 2000 22:53:49 +0000 (22:53 +0000)]
Author: Gte <gte@atomicrevs.demon.co.uk>
Log message:
Fixes for RPING/RPONG

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@129 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Apr 2000 10:58:16 +0000 (10:58 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Yay! The previous fix worked, so here it is for opers.  I was very tempted
to leave it out and let idle opers ping out, but I got talked into fixing it
for them too.  Oh well, now opers can idle too in peace.  This should
finally fix those damn annoying ping bugs!

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@127 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Apr 2000 08:54:11 +0000 (08:54 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

oops! Someone forgot to put m_pong into the parse array.  Wasn't me!  So
undernet happily ignores all pongs... What fun!

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@126 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Apr 2000 08:02:33 +0000 (08:02 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Oops! Check wrong in check_pings.  Thanks hektik.  I think we shouldn't be
allowed to commit changes after 10pm at night to avoid stupidities like this
<grin!>

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@125 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Apr 2000 07:05:33 +0000 (07:05 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Fix ping/pong problem for serves too.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@124 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Apr 2000 07:02:24 +0000 (07:02 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

 * Fix ping bugs!

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@123 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Apr 2000 05:22:33 +0000 (05:22 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

 * Fixes ban timestamps being based on localtime not TS time.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@122 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Sat, 1 Apr 2000 05:09:14 +0000 (05:09 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Fix for extended numerics.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@121 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Sat, 1 Apr 2000 01:55:31 +0000 (01:55 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

 * Nick kills are sent in both directions now, slightly more bandwidth - but
the network won't desync.  This lets us change to a forced nick change model
later.

 * Fix map buglet.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@113 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 31 Mar 2000 19:42:03 +0000 (19:42 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Added logging of OPMODEs and CLEARMODEs; it's time to ask for testers...

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@112 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 31 Mar 2000 18:19:09 +0000 (18:19 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/m_clearmode.c (do_clearmode): updated uses of
modebuf_mode_string() for the new usage

* ircd/channel.c: added flag MODE_FREE and an int argument to
modebuf_mode_string() to indicate that the string must be free'd;
updated calls to modebuf_mode_string() for the new usage; called
collapse(pretty_mask()) on the ban string and use allocated memory
for it; added ban list length accounting; fixed a number of small
bugs in ban processing

* include/channel.h: added flag MODE_FREE and an int argument to
modebuf_mode_string() to indicate that the string must be free'd

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@111 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 31 Mar 2000 15:35:18 +0000 (15:35 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/m_clearmode.c (do_clearmode): made sure clearmode removed
keys and limits that are set

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@110 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Isomer <isomer@coders.net>
Perry Lorier [Thu, 30 Mar 2000 22:09:52 +0000 (22:09 +0000)]
Author: Isomer <isomer@coders.net>
Log message:

Well:
 * Fixed wrapped U: in example.conf
 * Added reason to when people are glined.
   *** Quits: BadBoy (G-Lined (You're a bad boy))
 * Rewrote check pings.
 * Fixed several problems with /map
 * Added some reasons to quit msg's.
 * removed redundant nick[socket] from error quitmsg's.
 * Updated the error messages for 'write error'
 * Made server rejection notices explain why the server was rejected
   hopefully we'll get less people asking questions :)
 * Probably some other patches I've been sitting on for a while.

Not very tested for much of this stuff, but it's there. I'm sure the usual
alpha testers will enjoy themselves :)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@109 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 30 Mar 2000 22:03:36 +0000 (22:03 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Misc. cleanups and bug fixes, new m_mode() implementation in terms of
mode_parse() -- selectable at configure time, under conditional
CONFIG_NEW_MODE

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@108 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 30 Mar 2000 19:57:22 +0000 (19:57 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/m_clearmode.c (do_clearmode): do_clearmode() would remove
+k and +l even if they weren't set...

* ircd/m_opmode.c: implement the OPMODE command using mode_parse()

* ircd/channel.c: make mode_process_clients() clear the DEOPPED
flag; fix +s+p exclusivity; add MODE_ADD/MODE_DEL to flag list
for; test the 0-th member, not the i-th member, of the client
change state stuff

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@107 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 30 Mar 2000 18:36:24 +0000 (18:36 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/m_clearmode.c (do_clearmode): use the new
mode_invite_clear() function

* ircd/channel.c: cleared up all the compile-time warnings and
errors

* include/channel.h: added declarations for mode_ban_invalidate()
and mode_invite_clear()

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@106 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 30 Mar 2000 17:34:32 +0000 (17:34 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c: finished mode_parse(), then broke it up into a
dozen or so helper functions to make the code easier to read

(not guarenteed to compile, yet; that'll be the next commit)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@105 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Thu, 30 Mar 2000 08:07:48 +0000 (08:07 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Clean process initialization code a bit.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@104 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 30 Mar 2000 04:15:16 +0000 (04:15 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c: initial definition of mode_parse(); flags to
prevent doing the same thing multiple times; helper method
send_notoper() to send a "Not oper"/"Not on channel" notice

* include/channel.h: declare mode_parse() and helper flags

* ircd/channel.c (modebuf_flush_int): fiddled with timestamp
sending to match the current action of set_mode() closely enough
that hopefully there won't be major conflicts

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@103 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 29 Mar 2000 15:58:36 +0000 (15:58 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c (modebuf_flush_int): consolidated the mode string
building logic, reversed the order of the arguments to mode
commands to have '-' preceed '+'

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@102 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Wed, 29 Mar 2000 08:13:51 +0000 (08:13 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Allow OS's to tune socket options for performance.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@101 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Wed, 29 Mar 2000 06:52:01 +0000 (06:52 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Fix typo

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@100 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Bleep <tomh@inxpress.net>
Bleep [Wed, 29 Mar 2000 03:56:32 +0000 (03:56 +0000)]
Author: Bleep <tomh@inxpress.net>
Log message:
Minor bugfix for uping.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@98 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Tue, 28 Mar 2000 16:20:39 +0000 (16:20 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c (modebuf_flush_int): use %d, not %-15d; I got
confused by set_mode, which is doing some really weird logic;
guess what I'm going to rewrite next?  ;)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@97 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

24 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Tue, 28 Mar 2000 07:11:20 +0000 (07:11 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* include/channel.h: added MODE_SAVE for the bounds checking stuff
in modebuf_flush

* ircd/channel.c: make modebuf_flush into modebuf_flush_int and
make it do bounds checking on the buffer; all modes are sent only
if the all parameter is 1; modebuf_flush is the exported wrapper

(all right, so I can't sleep, so what?)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@96 c9e4aea6-c8fd-4c43-8297-357d70d61c8c