ircu2.10.12-pk.git
14 years agoMake OPMODE ignore ban count and length checks.
Michael Poole [Sat, 2 Jan 2010 04:15:50 +0000 (04:15 +0000)]
Make OPMODE ignore ban count and length checks.
(Patch #2693309, inspired by Quakenet commit 228:4b3157d90fc6.)

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

14 years agoProvide /stats F to report even defaulted feature values.
Michael Poole [Sat, 2 Jan 2010 04:00:13 +0000 (04:00 +0000)]
Provide /stats F to report even defaulted feature values.
(Apply patch #2693259, inspired by a Quakenet patch by paulr.)

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

14 years agoFix usermodes harder when they are set early during registration.
Michael Poole [Fri, 31 Jul 2009 02:04:15 +0000 (02:04 +0000)]
Fix usermodes harder when they are set early during registration.

IAuth and /user can both set usermodes before registration is
complete, and we do not want to count unregistered clients as
invisible or as opers, so register_user() _must_ update UserStats when
it registers a client.  Default usermodes must not be applied between
where the client is marked as registered and that point, because that
would update UserStats too, so move the setting of default usermodes
before the SetUser() call that marks the client as a registered user.

Fixes SourceForge bugs #2824908 and #2829936.

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

14 years agoFix SourceForge bug #2816618 (default user modes in connection class do not work).
Michael Poole [Mon, 6 Jul 2009 02:36:29 +0000 (02:36 +0000)]
Fix SourceForge bug #2816618 (default user modes in connection class do not work).

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

14 years agoRemove errant \ from previous commit. (Whoops!)
Michael Poole [Mon, 6 Jul 2009 02:02:31 +0000 (02:02 +0000)]
Remove errant \ from previous commit.  (Whoops!)

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

14 years agoFix SF bug #2721107 (Gline lifetime changes from servers change the reason.)
Michael Poole [Mon, 6 Jul 2009 01:41:45 +0000 (01:41 +0000)]
Fix SF bug #2721107 (Gline lifetime changes from servers change the reason.)

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

14 years agoFix SF bug #2596914 (/mode +v nick:level gives oplevel).
Michael Poole [Mon, 6 Jul 2009 01:27:24 +0000 (01:27 +0000)]
Fix SF bug #2596914 (/mode +v nick:level gives oplevel).

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

14 years agoFix SF bug #2694761 (iauth class assignment did not work correctly).
Michael Poole [Sun, 5 Jul 2009 03:00:52 +0000 (03:00 +0000)]
Fix SF bug #2694761 (iauth class assignment did not work correctly).

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

14 years agoAttempt to fix SF bug #2568366 (sending JOIN before hitting a target limit).
Michael Poole [Sat, 4 Jul 2009 22:46:00 +0000 (22:46 +0000)]
Attempt to fix SF bug #2568366 (sending JOIN before hitting a target limit).

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

14 years agoUnconditionally set +6 flag on self.
Michael Poole [Sat, 4 Jul 2009 22:44:19 +0000 (22:44 +0000)]
Unconditionally set +6 flag on self.

(Thanks to weibes for pointing this out on SF bug #2523774.)

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

15 years agoFix SourceForge bug #1722030.
Michael Poole [Thu, 26 Mar 2009 02:50:39 +0000 (02:50 +0000)]
Fix SourceForge bug #1722030.

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

15 years agoFix SourceForge bug #1706672.
Michael Poole [Thu, 26 Mar 2009 02:16:26 +0000 (02:16 +0000)]
Fix SourceForge bug #1706672.

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

15 years agoOptimize order of checks in if() to minimize calls to match_it().
Michael Poole [Wed, 18 Mar 2009 03:31:58 +0000 (03:31 +0000)]
Optimize order of checks in if() to minimize calls to match_it().

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

15 years agoForward port a patch by Dianora to add rudimentary spam bot detection to ircu.
Michael Poole [Wed, 18 Mar 2009 02:15:48 +0000 (02:15 +0000)]
Forward port a patch by Dianora to add rudimentary spam bot detection to ircu.

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

15 years agoAuthor: Michael Poole <mdpoole@troilus.org>
Michael Poole [Mon, 9 Feb 2009 04:11:04 +0000 (04:11 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Description:

Fix items from SF bug #2523774: Show +H and +6 flags in /stats v and
/stats V for the local server.  Fix the default value for maxhops.

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

15 years agoAuthor: Michael Poole <mdpoole@troilus.org>
Michael Poole [Mon, 9 Feb 2009 03:39:42 +0000 (03:39 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Description:

Fix SF bug #2328334: Allow users to join channels with names that are
exactly CHANNELLEN bytes long.

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

15 years agoAuthor: Michael Poole <mdpoole@troilus.org>
Michael Poole [Mon, 9 Feb 2009 01:30:13 +0000 (01:30 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Description:

Clean up key cleaning: Do not reject non-ASCII characters, and allow
':' after the first character in the key.  Add a regression test
script to go along with these changes.

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

15 years agoAuthor: Michael Poole <mdpoole@troilus.org>
Michael Poole [Mon, 9 Feb 2009 00:03:34 +0000 (00:03 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Description:

Revert the part of the G-line parsing cleanup that does not create new
deactivated G-lines.  Instead, just explain that it is deactivated.

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

15 years agoAuthor: Michael Poole <mdpoole@troilus.org>
Michael Poole [Tue, 13 Jan 2009 03:54:45 +0000 (03:54 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Description:

Fix the issues described by weibe in SourceForge.net bug 2045310
(TOPIC, WALLCHOPS and WALLVOICES do not reveal join-delayed users).

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

15 years agoAuthor: Michael Poole <mdpoole@troilus.org>
Michael Poole [Tue, 13 Jan 2009 03:27:27 +0000 (03:27 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Description:

Fix bouncing of limit changes.

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

15 years agoAuthor: Michael Poole <mdpoole@troilus.org>
Michael Poole [Tue, 13 Jan 2009 02:43:56 +0000 (02:43 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Description:

Fix SourceForge bug 2039740 (even local /gline additions count users
on remote servers towards the limit needed to force the G-line).

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

15 years agoAuthor: Entrope <mdpoole@troilus.org>
Michael Poole [Tue, 13 Jan 2009 02:30:25 +0000 (02:30 +0000)]
Author: Entrope <mdpoole@troilus.org>
Description:

Make G-line parsing considerably more robust for unusual input forms.
Fix affected-user counting for G-lines with CIDR host portions.  Add
tests to exercise the new parsing behaviors.

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

15 years agoProperly handle net rider kicks that are received after a normal kick for the same...
Michael Poole [Tue, 18 Nov 2008 03:18:46 +0000 (03:18 +0000)]
Properly handle net rider kicks that are received after a normal kick for the same user.

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

15 years agoUpdate the match() unit test to catch buffer over-reads.
Michael Poole [Tue, 18 Nov 2008 03:16:05 +0000 (03:16 +0000)]
Update the match() unit test to catch buffer over-reads.

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

15 years agoFix an error in backtracking (apparently exacerbated by escapes).
Michael Poole [Tue, 18 Nov 2008 02:30:15 +0000 (02:30 +0000)]
Fix an error in backtracking (apparently exacerbated by escapes).

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

15 years agoAuthor: Isomer <isomer@undernet.org>
Perry Lorier [Sun, 7 Sep 2008 02:10:22 +0000 (02:10 +0000)]
Author: Isomer <isomer@undernet.org>
Log message:

Remove the . at the end of the nick in kill messages to make it easier to cut
and paste nicks.  (Suggested by pryz)

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

16 years agoDo not accept strings like 0.0.0.0.0 as IP masks.
Michael Poole [Thu, 20 Mar 2008 23:58:27 +0000 (23:58 +0000)]
Do not accept strings like 0.0.0.0.0 as IP masks.
(Reported by the Quakenet crew: paulr, splidge, and company.)

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

16 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Thu, 20 Mar 2008 17:41:00 +0000 (17:41 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Make ircu do the right thing if it sees a remote client with user mode +O--
namely, don't show "is an IRC Operator", etc.  First step in a multi-phase
upgrade to allow local operators to be acknowledged across the net.

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

16 years agoAuthor: Michael Poole <mdpoole@troilus.org>
Michael Poole [Sat, 15 Mar 2008 05:33:22 +0000 (05:33 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Log message:

Commit the code change intended for the last commit, and the ChangeLog
entry for the code change that was actually in the last commit (to fix
and clarify a startup error message).

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

16 years agoAuthor: Michael Poole <mdpoole@troilus.org>
Michael Poole [Sat, 15 Mar 2008 05:24:14 +0000 (05:24 +0000)]
Author: Michael Poole <mdpoole@troilus.org>
Log message:

Check for end of argument list when processing 'r' user mode changes.

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

16 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Wed, 9 Jan 2008 18:32:43 +0000 (18:32 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Might be handy to bump the patchlevel at some point...

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

16 years agoAuthor: Jan Krueger <jast@heapsort.de> (by way of Kev <klmitch@mit.edu>)
Kevin L. Mitchell [Thu, 3 Jan 2008 00:07:21 +0000 (00:07 +0000)]
Author: Jan Krueger <jast@heapsort.de> (by way of Kev <klmitch@mit.edu>)
Log message:

Correct a parsing problem with ms_burst() that could cause an overrun when
processing bursts with oplevels.

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

16 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 28 Dec 2007 15:52:43 +0000 (15:52 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

This very simple change adds a +R channel mode that can only be set or
reset by remote users (or servers) or with /opmode.  This can be used by X
to indicate that a channel is registered, a sentinal that C can use to
decide when it is legal to reop a channel.

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

16 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 14 Dec 2007 02:37:48 +0000 (02:37 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Correct the issue where a 0 expiration time on a new G-line causes funny
behavior.  Instead, for server-issued G-lines, try hard by propagating a
G-line activation/deactivation for G-lines we know nothing about, instead
of calling gline_add().

Also, the make_gline() function now asserts that expire != 0.

Note: it will not be necessary to release a .13 immediately.  The REMGLINE
issue can be easily worked around within euworld, and Isomer is making the
appropriate changes.

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

16 years agoBump PATCHLEVEL for .12 release.
Michael Poole [Tue, 4 Dec 2007 04:25:15 +0000 (04:25 +0000)]
Bump PATCHLEVEL for .12 release.

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

16 years agoThrough the dubious magic of autoconf, install man files in the proper directory.
Michael Poole [Tue, 4 Dec 2007 04:24:22 +0000 (04:24 +0000)]
Through the dubious magic of autoconf, install man files in the proper directory.

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

16 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 30 Nov 2007 23:50:04 +0000 (23:50 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Fix some minor bitrot

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

16 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 30 Nov 2007 22:10:04 +0000 (22:10 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Fix for 2 problems:

1) gline_add() applied the too-many-users test to all realname G-lines,
   instead of just user-initiated G-lines; fixed by wrapping test in an if
   on MyUser()

2) Some systems seem to have problems if LEXLIB ('-lfl') gets added to
   LIBS.  Since the only reason to link agains libfl is to get yywrap(), we
   just provide our own version of it.

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

16 years agoBump PATCHLEVEL for u2.10.12.pre12 development.
Michael Poole [Thu, 29 Nov 2007 03:43:35 +0000 (03:43 +0000)]
Bump PATCHLEVEL for u2.10.12.pre12 development.

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

16 years agoBump PATCHLEVEL for u2.10.12.11 release.
Michael Poole [Thu, 29 Nov 2007 03:38:54 +0000 (03:38 +0000)]
Bump PATCHLEVEL for u2.10.12.11 release.

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

16 years agoUpdate test scripts to run properly with newer POE; add test for SF#1840011.
Michael Poole [Wed, 28 Nov 2007 05:50:53 +0000 (05:50 +0000)]
Update test scripts to run properly with newer POE; add test for SF#1840011.

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

16 years agoOnce again allow MODE #channel -b+b *!*@*.example.com *!*@*.foo.example.com
Michael Poole [Wed, 28 Nov 2007 05:47:11 +0000 (05:47 +0000)]
Once again allow MODE #channel -b+b *!*@*.example.com *!*@*.foo.example.com
Fixes bug SF#1840011.

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

16 years agoShow users on second (and later) lines of RPL_NAMREPLY correctly.
Michael Poole [Sun, 25 Nov 2007 02:42:54 +0000 (02:42 +0000)]
Show users on second (and later) lines of RPL_NAMREPLY correctly.
Thanks to paulr for highlighting where the problem was.

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

16 years agoMake "/stats flag server param" work as intended again.
Michael Poole [Sat, 17 Nov 2007 14:21:02 +0000 (14:21 +0000)]
Make "/stats flag server param" work as intended again.

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

16 years agoHandle iauth stderr EOF events like iauth stdout EOF events.
Michael Poole [Sat, 17 Nov 2007 14:12:37 +0000 (14:12 +0000)]
Handle iauth stderr EOF events like iauth stdout EOF events.

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

16 years agoAvoid a warning about signedness mismatch in umkpasswd.
Michael Poole [Sat, 17 Nov 2007 13:48:15 +0000 (13:48 +0000)]
Avoid a warning about signedness mismatch in umkpasswd.

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

16 years agoSupport /LIST M to show modes in channels (using the list_chan privilege).
Michael Poole [Mon, 5 Nov 2007 03:01:34 +0000 (03:01 +0000)]
Support /LIST M to show modes in channels (using the list_chan privilege).

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

16 years agoFix a few bugs that made LIST work confusingly with T and C qualifiers.
Michael Poole [Mon, 5 Nov 2007 02:42:11 +0000 (02:42 +0000)]
Fix a few bugs that made LIST work confusingly with T and C qualifiers.

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

16 years agoConvert lexer to read using fileio.[ch] functions (thanks, Solaris!).
Michael Poole [Tue, 30 Oct 2007 02:13:09 +0000 (02:13 +0000)]
Convert lexer to read using fileio.[ch] functions (thanks, Solaris!).

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

16 years agoRequire force for many-victim realname G-lines; clean up gline.c.
Michael Poole [Tue, 30 Oct 2007 01:53:33 +0000 (01:53 +0000)]
Require force for many-victim realname G-lines; clean up gline.c.

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

16 years agoClean up / regularize parts of m*_gline().
Michael Poole [Tue, 30 Oct 2007 01:19:52 +0000 (01:19 +0000)]
Clean up / regularize parts of m*_gline().

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

16 years agoFix dependencies for generating version.h.
Michael Poole [Tue, 30 Oct 2007 01:16:58 +0000 (01:16 +0000)]
Fix dependencies for generating version.h.

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

16 years agoClean up sendwallto_group_butone() macro usage.
Michael Poole [Tue, 30 Oct 2007 01:14:50 +0000 (01:14 +0000)]
Clean up sendwallto_group_butone() macro usage.

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

16 years agoMatch 127.*.*.* masks against IPs in the usually expected manner.
Michael Poole [Tue, 21 Aug 2007 02:02:10 +0000 (02:02 +0000)]
Match 127.*.*.* masks against IPs in the usually expected manner.

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

16 years agoDo not include unregistered +i clients in /lusers's invisible count.
Michael Poole [Tue, 21 Aug 2007 01:13:15 +0000 (01:13 +0000)]
Do not include unregistered +i clients in /lusers's invisible count.

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

16 years agoProperly handle removing and adding a key in the same command.
Michael Poole [Wed, 15 Aug 2007 02:49:54 +0000 (02:49 +0000)]
Properly handle removing and adding a key in the same command.

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

16 years agoConsistently rebuild version.c; optimize how it is generated.
Michael Poole [Wed, 15 Aug 2007 01:15:53 +0000 (01:15 +0000)]
Consistently rebuild version.c; optimize how it is generated.

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

16 years agoMove whisper()'s away message checking to the cprivmsg path.
Michael Poole [Tue, 14 Aug 2007 03:56:46 +0000 (03:56 +0000)]
Move whisper()'s away message checking to the cprivmsg path.

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

16 years agoAt paulr's suggestion, make WHO and WHOIS more similar w.r.t. ERR_QUERYTOOLONG.
Michael Poole [Tue, 14 Aug 2007 03:54:48 +0000 (03:54 +0000)]
At paulr's suggestion, make WHO and WHOIS more similar w.r.t. ERR_QUERYTOOLONG.

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

16 years agoQuash an initializer warning in the initial user-mode array.
Michael Poole [Tue, 14 Aug 2007 03:04:05 +0000 (03:04 +0000)]
Quash an initializer warning in the initial user-mode array.

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

16 years agoGet rid of ms_names(); clean up m_names() to be more uniform.
Michael Poole [Tue, 14 Aug 2007 03:02:24 +0000 (03:02 +0000)]
Get rid of ms_names(); clean up m_names() to be more uniform.

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

16 years agoRemove duplicate end-of-stats replies for /stats iauth and /stats iauthconf.
Michael Poole [Thu, 9 Aug 2007 03:46:20 +0000 (03:46 +0000)]
Remove duplicate end-of-stats replies for /stats iauth and /stats iauthconf.

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

16 years agoFix confusion over whether 0.0.0.0-like addresses are IPv4.
Michael Poole [Thu, 9 Aug 2007 03:41:18 +0000 (03:41 +0000)]
Fix confusion over whether 0.0.0.0-like addresses are IPv4.

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

16 years agolet's try this again...*without* CVS substituting part of my sed lines!
Kevin L. Mitchell [Wed, 1 Aug 2007 23:09:57 +0000 (23:09 +0000)]
let's try this again...*without* CVS substituting part of my sed lines!

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

16 years agorefine the list of source files a bit; include CVS version information
Kevin L. Mitchell [Wed, 1 Aug 2007 22:28:21 +0000 (22:28 +0000)]
refine the list of source files a bit; include CVS version information

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

16 years agoAuthor: Perry Lorier <isomer@undernet.org>
Perry Lorier [Sat, 21 Jul 2007 04:52:03 +0000 (04:52 +0000)]
Author: Perry Lorier <isomer@undernet.org>
Log message:

Extend set_user_mode() to parse +r <account> umodes (like are sent
server<->server), then use set_user_mode() to parse usermode on s<->s NICK messages.

This fixes a bug where remote users weren't being counted properly either.

This leaves room for someone to cleanup set_user_mode()'s API a bit to make it a bit less tied to
m_nick().

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

16 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Fri, 20 Jul 2007 23:32:19 +0000 (23:32 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/m_gline.c: create abs_expire() macro to convert an expire
timestamp from the network into an absolute time, if needed;
rename expire_off to expire globally, since it now represents an
absolute expiration time; use expire - CurrentTime in gline
forwarding statements; in ms_gline(), use abs_expire() to convert
network expiration timestamp into absolute timestamp; in
mo_gline(), add CurrentTime to oper-provided expiration offset to
convert to absolute timestamp

* ircd/gline.c: assume expire and lifetime arguments to
gline_add() and gline_modify() are already absolute timestamps;
send lifetime parameter as an absolute timestamp, but leave expire
timestamp as relative as first part of a 2-phase update

Tested and seems to have the desired effect.  Note that the treatment of
lifetime is incompatible with the prior version of this G-line patch.

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

16 years agoAuthor: Perry Lorier <isomer@undernet.org>
Perry Lorier [Sat, 14 Jul 2007 02:40:01 +0000 (02:40 +0000)]
Author: Perry Lorier <isomer@undernet.org>
Log message:

Try and fix issues with large numbers of invisible (or non invisible) users.
Do this by always calling set_user_mode() for all mode setting/unsetting.
This requires an extra flag so we can limit which userflags can be set in
some situations.

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

16 years agoAuthor: Isomer <isomer@undernet.org>
Perry Lorier [Wed, 11 Jul 2007 21:39:52 +0000 (21:39 +0000)]
Author: Isomer <isomer@undernet.org>
Log message:

Commit the fix for the changelog I posted :)

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

16 years agoAuthor: Isomer <isomer@undernet.org>
Perry Lorier [Wed, 11 Jul 2007 12:27:51 +0000 (12:27 +0000)]
Author: Isomer <isomer@undernet.org>
Log message:

!= vs == means that the clients doing RFC2812 style on connect user modes
weren't being properly applied.  Fixed.

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

16 years agoComplain to the client when it sends a line that is too long.
Michael Poole [Tue, 29 May 2007 03:08:34 +0000 (03:08 +0000)]
Complain to the client when it sends a line that is too long.

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

16 years agoAuthor: Isomer <isomer@undernet.org>
Perry Lorier [Sat, 26 May 2007 02:38:09 +0000 (02:38 +0000)]
Author: Isomer <isomer@undernet.org>
Log message:

Add "maxlinks=2" to the example config in the hope admins will take the hint

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

16 years agoFix SF#1706014 by not giving in-burst servers special lenience.
Michael Poole [Sun, 20 May 2007 15:01:19 +0000 (15:01 +0000)]
Fix SF#1706014 by not giving in-burst servers special lenience.

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

16 years agoFix SF#1706004 by reporting the new value after /set and /reset.
Michael Poole [Sun, 20 May 2007 14:50:27 +0000 (14:50 +0000)]
Fix SF#1706004 by reporting the new value after /set and /reset.

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

16 years agoFix SF#1704458 by sending a protocol violation on the input in question.
Michael Poole [Sun, 20 May 2007 14:40:33 +0000 (14:40 +0000)]
Fix SF#1704458 by sending a protocol violation on the input in question.

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

16 years agoFix SF#1704424 by sending ERR_NOSUCHNICK as wiebe suggests.
Michael Poole [Sun, 20 May 2007 14:15:58 +0000 (14:15 +0000)]
Fix SF#1704424 by sending ERR_NOSUCHNICK as wiebe suggests.

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

16 years agoFix SF#1704419 by properly hiding hidden ports.
Michael Poole [Sun, 20 May 2007 14:10:30 +0000 (14:10 +0000)]
Fix SF#1704419 by properly hiding hidden ports.

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

16 years agoFix SF#1701361 by taking one of weibe's suggestion actions (adding %s to ERR_DONTCHEAT).
Michael Poole [Sun, 20 May 2007 14:01:07 +0000 (14:01 +0000)]
Fix SF#1701361 by taking one of weibe's suggestion actions (adding %s to ERR_DONTCHEAT).

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

16 years agoFix SF#1701350 by taking weibe's suggestion action (reporting insufficient privileges).
Michael Poole [Sun, 20 May 2007 13:55:59 +0000 (13:55 +0000)]
Fix SF#1701350 by taking weibe's suggestion action (reporting insufficient privileges).

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

16 years agoFix SF#1701346 by taking weibe's suggestion action (making SETTIME consistent with...
Michael Poole [Sun, 20 May 2007 13:50:38 +0000 (13:50 +0000)]
Fix SF#1701346 by taking weibe's suggestion action (making SETTIME consistent with all other oper commands).

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

16 years agoFix SF#1696437 by prohibiting not-all-alphabetic pseudo commands.
Michael Poole [Sun, 20 May 2007 13:42:27 +0000 (13:42 +0000)]
Fix SF#1696437 by prohibiting not-all-alphabetic pseudo commands.

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

16 years agoFix SF#1696425 by failing configure if MAXCONNECTIONS is too small.
Michael Poole [Sun, 20 May 2007 13:25:47 +0000 (13:25 +0000)]
Fix SF#1696425 by failing configure if MAXCONNECTIONS is too small.

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

16 years agoFix bugs reported in SF#1691357.
Michael Poole [Sun, 20 May 2007 13:02:51 +0000 (13:02 +0000)]
Fix bugs reported in SF#1691357.
Remove extra space in FEATURES 2; do not leak linked-server information.

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

17 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sun, 15 Apr 2007 19:14:42 +0000 (19:14 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

%c takes characters, not pointers--fix typo in mo_gline() that forwards
remote local G-lines to their target servers.  In this case, ms_gline() got
it right...

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

17 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sun, 15 Apr 2007 19:09:38 +0000 (19:09 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Fix minor typo in the code that forwards remote local activations and
deactivations to their intended targets.  %c does not take pointers as
arguments!

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

17 years agoCorrectly free members of the iauth string list.
Michael Poole [Wed, 11 Apr 2007 03:25:21 +0000 (03:25 +0000)]
Correctly free members of the iauth string list.

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

17 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Tue, 10 Apr 2007 14:53:03 +0000 (14:53 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

Don't allow G-lines to have 0 lastmod--return a "need more params" message
if lastmod evaluates to 0.  This solves the bug where not passing a lastmod
resulted in an assertion failure in gline_propagate().

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

17 years agoFix resolver after /rehash with no "dns server" directives.
Michael Poole [Thu, 5 Apr 2007 01:52:39 +0000 (01:52 +0000)]
Fix resolver after /rehash with no "dns server" directives.
(Bug reported by Ralf.)

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

17 years agoFix on-connect host hiding for users with IAuth account stamps.
Michael Poole [Thu, 5 Apr 2007 01:39:39 +0000 (01:39 +0000)]
Fix on-connect host hiding for users with IAuth account stamps.

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

17 years agoAllow clients and iauth to request usermodes during registration.
Michael Poole [Sun, 1 Apr 2007 03:01:17 +0000 (03:01 +0000)]
Allow clients and iauth to request usermodes during registration.

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

17 years agoMove some permission checks from set_user_mode() to its callers.
Michael Poole [Sun, 1 Apr 2007 02:14:59 +0000 (02:14 +0000)]
Move some permission checks from set_user_mode() to its callers.

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

17 years agoAvoid triggering warnings about strict-aliasing violations.
Michael Poole [Sun, 1 Apr 2007 02:11:41 +0000 (02:11 +0000)]
Avoid triggering warnings about strict-aliasing violations.

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

17 years agoAdd new line to ASLL output to resolve SF bug #1687382.
Michael Poole [Wed, 28 Mar 2007 04:04:32 +0000 (04:04 +0000)]
Add new line to ASLL output to resolve SF bug #1687382.

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

17 years agoOnly check /stats subcommands with STAT_FLAG_LOCONLY on the hunted server.
Michael Poole [Tue, 27 Mar 2007 03:44:41 +0000 (03:44 +0000)]
Only check /stats subcommands with STAT_FLAG_LOCONLY on the hunted server.

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

17 years agoCheck for missing parameters to iauth messages (SF bug#1685648).
Michael Poole [Tue, 27 Mar 2007 03:37:39 +0000 (03:37 +0000)]
Check for missing parameters to iauth messages (SF bug#1685648).

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

17 years agoDo not try twice to process silences that were both added and deleted.
Michael Poole [Tue, 27 Mar 2007 02:54:44 +0000 (02:54 +0000)]
Do not try twice to process silences that were both added and deleted.

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

17 years agoFix listener address for Port blocks with no host listed.
Michael Poole [Tue, 27 Mar 2007 01:08:22 +0000 (01:08 +0000)]
Fix listener address for Port blocks with no host listed.

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

17 years agoFix documentation for iauth I command.
Michael Poole [Tue, 27 Mar 2007 01:07:06 +0000 (01:07 +0000)]
Fix documentation for iauth I command.

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

17 years agoProperly quote m4 function/macro names when defining them.
Michael Poole [Sun, 18 Mar 2007 14:02:47 +0000 (14:02 +0000)]
Properly quote m4 function/macro names when defining them.

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

17 years agoAuthor: Kev <klmitch@mit.edu>
Kevin L. Mitchell [Sun, 18 Mar 2007 12:15:45 +0000 (12:15 +0000)]
Author: Kev <klmitch@mit.edu>
Log message:

I forgot to add permissions checks to mo_gline().  This commit causes any
remote changes (remote local G-lines, remote local status changes to global
G-lines, and global G-lines) to required CONFIG_OPERCMDS to be enabled and
the oper to have the GLINE privilege; local changes (local G-lines, local
status changes to global G-lines) require the oper to have the LOCAL_GLINE
privilege.

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