]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
16 years agoPropegate BURST and ENDBURST network-wide for timing of bursts, and to keep XLine...
w00t [Sun, 3 Feb 2008 15:04:42 +0000 (15:04 +0000)]
Propegate BURST and ENDBURST network-wide for timing of bursts, and to keep XLine application pending until the most opportune moment. Also do some general cleaning up.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8806 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoWhoops
brain [Sun, 3 Feb 2008 11:56:38 +0000 (11:56 +0000)]
Whoops

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8805 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoWhat do you think of this, w00t?
brain [Sun, 3 Feb 2008 11:53:26 +0000 (11:53 +0000)]
What do you think of this, w00t?

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8804 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix burst time indicator: set startburst in treeserver's constructor, BURST in treeso...
w00t [Sun, 3 Feb 2008 11:49:25 +0000 (11:49 +0000)]
Fix burst time indicator: set startburst in treeserver's constructor, BURST in treesocket is only valid placement for incoming connections.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8803 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoShow extra debug for burst time
w00t [Sun, 3 Feb 2008 11:43:30 +0000 (11:43 +0000)]
Show extra debug for burst time

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8802 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoBroken, but.. show how many milliseconds a burst takes. Someone care to tell me why...
w00t [Sun, 3 Feb 2008 00:21:55 +0000 (00:21 +0000)]
Broken, but.. show how many milliseconds a burst takes. Someone care to tell me why this is fucked/fix it?

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8801 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove an obsolete value
w00t [Sun, 3 Feb 2008 00:04:10 +0000 (00:04 +0000)]
Remove an obsolete value

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8800 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMurder space indents.. now if I find out who did them, I'll murder them too ;(
w00t [Sat, 2 Feb 2008 23:49:37 +0000 (23:49 +0000)]
Murder space indents.. now if I find out who did them, I'll murder them too ;(

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8799 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd some notes on proposed logging stuff
w00t [Sat, 2 Feb 2008 23:38:20 +0000 (23:38 +0000)]
Add some notes on proposed logging stuff

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8798 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoSmall tidyup
w00t [Sat, 2 Feb 2008 23:24:19 +0000 (23:24 +0000)]
Small tidyup

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8797 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoBack out the AllowDevoiceSelf stuff, it wasn't going to work anyway. Accidental commit.
w00t [Sat, 2 Feb 2008 22:58:56 +0000 (22:58 +0000)]
Back out the AllowDevoiceSelf stuff, it wasn't going to work anyway. Accidental commit.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8796 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoCache User::GetIPString()
w00t [Sat, 2 Feb 2008 22:57:28 +0000 (22:57 +0000)]
Cache User::GetIPString()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8795 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAvoid reallocating this every new connection (patch from hottpd)
w00t [Sat, 2 Feb 2008 22:48:41 +0000 (22:48 +0000)]
Avoid reallocating this every new connection (patch from hottpd)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8794 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMake m_password_hash able to pick up hasher modules after it's loaded, meaning m_md5...
aquanight [Sat, 2 Feb 2008 22:14:24 +0000 (22:14 +0000)]
Make m_password_hash able to pick up hasher modules after it's loaded, meaning m_md5 and m_sha256 no longer have to be loaded before it.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8793 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix a null pointer dereference caused by my reordering/moving stuff
w00t [Sat, 2 Feb 2008 21:48:09 +0000 (21:48 +0000)]
Fix a null pointer dereference caused by my reordering/moving stuff

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8792 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd it back, but comment out the method body. its useless.
brain [Sat, 2 Feb 2008 21:07:30 +0000 (21:07 +0000)]
Add it back, but comment out the method body. its useless.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8791 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMove some stuff to usermanager, remove a little header insanity, remove trace because...
w00t [Sat, 2 Feb 2008 20:55:16 +0000 (20:55 +0000)]
Move some stuff to usermanager, remove a little header insanity, remove trace because it's still less useful than a chocolate fireman.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8790 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix $config{HAS_OPENSSL} winding up undefined and crashing configure if openssl isn...
aquanight [Sat, 2 Feb 2008 18:02:47 +0000 (18:02 +0000)]
Fix $config{HAS_OPENSSL} winding up undefined and crashing configure if openssl isn't found or otherwise spits garbage for version.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8789 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoCheck for empty prefixes, and close server connections attempting to use them
w00t [Sat, 2 Feb 2008 17:18:25 +0000 (17:18 +0000)]
Check for empty prefixes, and close server connections attempting to use them

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8788 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoPatch: /rehash (not /rehash ssl) will now rebind SSL ports, but not dh params etc...
w00t [Sat, 2 Feb 2008 12:42:44 +0000 (12:42 +0000)]
Patch: /rehash (not /rehash ssl) will now rebind SSL ports, but not dh params etc. Closes #391. Thanks dz.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8786 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agocapitalization is key! more to come!
bricker [Fri, 1 Feb 2008 21:09:21 +0000 (21:09 +0000)]
capitalization is key! more to come!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8782 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoremoved sys/select.h on windows platform
fez [Fri, 1 Feb 2008 07:37:04 +0000 (07:37 +0000)]
removed sys/select.h on windows platform

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8781 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agofixed getsockopt parameter 4, removed sys/select.h on windows platform
fez [Fri, 1 Feb 2008 07:34:46 +0000 (07:34 +0000)]
fixed getsockopt parameter 4, removed sys/select.h on windows platform

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8780 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agofixed type defiined to defined
fez [Fri, 1 Feb 2008 07:33:18 +0000 (07:33 +0000)]
fixed type defiined to defined

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8779 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agochanged m_oper_hash to proper m_password_hash
fez [Fri, 1 Feb 2008 05:42:43 +0000 (05:42 +0000)]
changed m_oper_hash to proper m_password_hash

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8778 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix some minor grammar mistakes...more to come
bricker [Fri, 1 Feb 2008 03:47:41 +0000 (03:47 +0000)]
Fix some minor grammar mistakes...more to come

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8777 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoadd two comma's :-D
bricker [Fri, 1 Feb 2008 02:24:54 +0000 (02:24 +0000)]
add two comma's :-D

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8776 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoremove m_ssl_openssl from modules directory when rerunning configure
fez [Fri, 1 Feb 2008 02:17:40 +0000 (02:17 +0000)]
remove m_ssl_openssl from modules directory when rerunning configure

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8775 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdded OpenSSL scriptage.
fez [Fri, 1 Feb 2008 00:57:29 +0000 (00:57 +0000)]
Added OpenSSL scriptage.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8774 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoapplink.c should be included in the link command, not #included in the source
fez [Thu, 31 Jan 2008 20:49:52 +0000 (20:49 +0000)]
applink.c should be included in the link command, not #included in the source

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8773 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMove fez to developers (a lot of movement for one day :p)
w00t [Wed, 30 Jan 2008 20:03:20 +0000 (20:03 +0000)]
Move fez to developers (a lot of movement for one day :p)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8772 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMove fez to regular contributors section
w00t [Wed, 30 Jan 2008 14:23:43 +0000 (14:23 +0000)]
Move fez to regular contributors section

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8771 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoUpdate VC7.1 build projects. Thanks VERY much fez. :)
w00t [Wed, 30 Jan 2008 14:22:54 +0000 (14:22 +0000)]
Update VC7.1 build projects. Thanks VERY much fez. :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8770 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMerge in patches to fix bug #487, submitted by dz, thanks :)
brain [Wed, 30 Jan 2008 01:07:14 +0000 (01:07 +0000)]
Merge in patches to fix bug #487, submitted by dz, thanks :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8769 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoWhat crackmonkey thought we had server:networkemail???
brain [Tue, 29 Jan 2008 16:09:53 +0000 (16:09 +0000)]
What crackmonkey thought we had server:networkemail???

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8766 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoUpdate SAMODE
w00t [Tue, 29 Jan 2008 10:36:03 +0000 (10:36 +0000)]
Update SAMODE

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8765 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove duplicate calls (thanks fez)
w00t [Mon, 28 Jan 2008 20:29:59 +0000 (20:29 +0000)]
Remove duplicate calls (thanks fez)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8763 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRevert tmpfile cleanup from r8761, also make configure's perl version check happen...
aquanight [Sun, 27 Jan 2008 14:49:41 +0000 (14:49 +0000)]
Revert tmpfile cleanup from r8761, also make configure's perl version check happen during compilation phase so that people don't get millions of useless errors.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8762 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoSome configure cleanups: like using perl functions/modules instead of system() (symli...
aquanight [Sun, 27 Jan 2008 14:32:20 +0000 (14:32 +0000)]
Some configure cleanups: like using perl functions/modules instead of system() (symlink, clear, mv, mkdir -p), clean up tmpfile for eval(), use \e instead of \033, and use a heredoc for the big banner on starting configure

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8761 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoForward port bug #484 patch from John, thanks
brain [Sun, 27 Jan 2008 13:21:10 +0000 (13:21 +0000)]
Forward port bug #484 patch from John, thanks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8760 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMake sure that if an exec() macro fails its picked up before build time
brain [Sun, 27 Jan 2008 12:42:31 +0000 (12:42 +0000)]
Make sure that if an exec() macro fails its picked up before build time

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8757 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoYou left out the module name in the command, aquanight ;)
brain [Sun, 27 Jan 2008 00:22:52 +0000 (00:22 +0000)]
You left out the module name in the command, aquanight ;)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8756 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoChange API OnOperCompare to OnPassCompare, password hashing is now available for...
aquanight [Sun, 27 Jan 2008 00:12:11 +0000 (00:12 +0000)]
Change API OnOperCompare to OnPassCompare, password hashing is now available for <connect:allow>, <power die= restart=>, <title> (m_customtitle.so), <vhost> (m_vhost.so), this works the same was as for <oper>: load m_password_hash.so (after all hasher modules, of course), and add hash="md5/sha256/whatever" to the relevant tag. Also fix m_callerid.cpp crashing on unload.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8755 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoANNOUNCENENT -> ANNOUNCEMENT
brain [Sat, 26 Jan 2008 21:53:59 +0000 (21:53 +0000)]
ANNOUNCENENT -> ANNOUNCEMENT

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8754 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix for bug found by eLement, when an oper is on a notify list and the oper sets...
brain [Sat, 26 Jan 2008 21:38:01 +0000 (21:38 +0000)]
Fix for bug found by eLement, when an oper is on a notify list and the oper sets +Q, then the watch list for that user goes into an undefined state due to the
metadata not being correctly cleared from the user in m_watch OnUserQuit. Thanks :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8752 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoTweaks
brain [Sat, 26 Jan 2008 18:32:41 +0000 (18:32 +0000)]
Tweaks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8751 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoWhoops, should have test compiled this
brain [Sat, 26 Jan 2008 18:32:18 +0000 (18:32 +0000)]
Whoops, should have test compiled this

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8750 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agomacgyverdgi asked for this :p
brain [Sat, 26 Jan 2008 17:24:27 +0000 (17:24 +0000)]
macgyverdgi asked for this :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8749 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix a typo in an m_callerid error message, and add m_callerid and m_filter <exemptfro...
aquanight [Fri, 25 Jan 2008 19:59:07 +0000 (19:59 +0000)]
Fix a typo in an m_callerid error message, and add m_callerid and m_filter <exemptfromfilter> to example conf.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8748 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agowin32 compile error fix
brain [Mon, 21 Jan 2008 12:09:49 +0000 (12:09 +0000)]
win32 compile error fix

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8747 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agowin32 compilation errors: shadowing of variable 'i' isnt a good idea
brain [Mon, 21 Jan 2008 11:48:44 +0000 (11:48 +0000)]
win32 compilation errors: shadowing of variable 'i' isnt a good idea

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8746 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agowin32 compile error fix
brain [Mon, 21 Jan 2008 11:38:16 +0000 (11:38 +0000)]
win32 compile error fix

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8745 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoThis still doesnt work :(
brain [Mon, 21 Jan 2008 11:34:01 +0000 (11:34 +0000)]
This still doesnt work :(

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8744 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoWin32 compilation fixes
brain [Mon, 21 Jan 2008 11:16:36 +0000 (11:16 +0000)]
Win32 compilation fixes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8743 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoUpdate m_filter* to 1.2 API (it was still using Implements()), also implement <exempt...
aquanight [Sun, 20 Jan 2008 01:42:29 +0000 (01:42 +0000)]
Update m_filter* to 1.2 API (it was still using Implements()), also implement <exemptfromfilter channel="#blah"> to exclude channels from filtering.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8742 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoExtra sanity checks
brain [Sat, 19 Jan 2008 18:50:43 +0000 (18:50 +0000)]
Extra sanity checks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8741 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix freebsd glitches
brain [Sat, 19 Jan 2008 18:44:20 +0000 (18:44 +0000)]
Fix freebsd glitches

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8740 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd ./configure --list-extras, --enable-extras, and --disable-extras
aquanight [Sat, 19 Jan 2008 17:33:13 +0000 (17:33 +0000)]
Add ./configure --list-extras, --enable-extras, and --disable-extras

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8739 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix m_callerid not adding the usermode.
aquanight [Sat, 19 Jan 2008 17:30:32 +0000 (17:30 +0000)]
Fix m_callerid not adding the usermode.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8738 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoModules using NoPedantic now properly respect 'make debug'.
aquanight [Sat, 19 Jan 2008 16:58:18 +0000 (16:58 +0000)]
Modules using NoPedantic now properly respect 'make debug'.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8737 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd aquanight to developers section
w00t [Sat, 19 Jan 2008 16:36:22 +0000 (16:36 +0000)]
Add aquanight to developers section

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8736 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoInitial implementation of callerid, provided by aquanight. Untested as of yet. Probab...
w00t [Sat, 19 Jan 2008 15:58:12 +0000 (15:58 +0000)]
Initial implementation of callerid, provided by aquanight. Untested as of yet. Probably could use a little of the /watch love to speed up removals in the future.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8735 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAnd another tiny one
w00t [Sat, 19 Jan 2008 01:26:14 +0000 (01:26 +0000)]
And another tiny one

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8734 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoPatch from aquanight to fix a problem introduced with some of the recent tidyups.
w00t [Sat, 19 Jan 2008 01:22:28 +0000 (01:22 +0000)]
Patch from aquanight to fix a problem introduced with some of the recent tidyups.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8733 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove a redundant method here, call the mode manager directly
w00t [Thu, 17 Jan 2008 23:40:18 +0000 (23:40 +0000)]
Remove a redundant method here, call the mode manager directly

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8732 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAquanight's configure strict/fatal warnings patch
brain [Thu, 17 Jan 2008 21:36:02 +0000 (21:36 +0000)]
Aquanight's configure strict/fatal warnings patch

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8731 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoThe outer if (socket > -1) check in AddClient is obsolete and this is already checked...
brain [Thu, 17 Jan 2008 16:40:17 +0000 (16:40 +0000)]
The outer if (socket > -1) check in AddClient is obsolete and this is already checked in socket.cpp. We can remove and just have the inner check.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8730 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix.. snomask O is already taken (ffs) so use A instead
w00t [Thu, 17 Jan 2008 15:54:33 +0000 (15:54 +0000)]
Fix.. snomask O is already taken (ffs) so use A instead

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove InspIRCd::WriteOpers in favour of snomask O
w00t [Thu, 17 Jan 2008 13:07:49 +0000 (13:07 +0000)]
Remove InspIRCd::WriteOpers in favour of snomask O

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8728 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoStart converting WriteOpers calls into snomask 'O' -- generic oper notices.
w00t [Thu, 17 Jan 2008 12:29:33 +0000 (12:29 +0000)]
Start converting WriteOpers calls into snomask 'O' -- generic oper notices.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8727 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMove a number of methods from class InspIRCd to class UserManager
w00t [Thu, 17 Jan 2008 12:17:09 +0000 (12:17 +0000)]
Move a number of methods from class InspIRCd to class UserManager

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8726 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd logger.(cpp|h), will eventually hold implementation of logging manager
w00t [Thu, 17 Jan 2008 12:02:22 +0000 (12:02 +0000)]
Add logger.(cpp|h), will eventually hold implementation of logging manager

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8725 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMake default bancache time one day. This may seem long, but as XLines expire, so...
w00t [Wed, 16 Jan 2008 21:45:50 +0000 (21:45 +0000)]
Make default bancache time one day. This may seem long, but as XLines expire, so will the bancache entries, so it'll be fine.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8724 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd an overridden AddHit to BanCacheManager, allowing the expiry time to be set.
w00t [Wed, 16 Jan 2008 21:43:03 +0000 (21:43 +0000)]
Add an overridden AddHit to BanCacheManager, allowing the expiry time to be set.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8723 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMake the sid exception message more descriptive so a user knows what a valid SID is
brain [Wed, 16 Jan 2008 21:42:42 +0000 (21:42 +0000)]
Make the sid exception message more descriptive so a user knows what a valid SID is

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8722 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoValidate <server:id> on startup if provided, thx Brain
w00t [Wed, 16 Jan 2008 21:36:07 +0000 (21:36 +0000)]
Validate <server:id> on startup if provided, thx Brain

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8721 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd a warning about quitting a user twice, and fix a minor brainfart
w00t [Wed, 16 Jan 2008 16:23:43 +0000 (16:23 +0000)]
Add a warning about quitting a user twice, and fix a minor brainfart

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8718 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove an O(log n) in favour of an O(1) operation, and tidy up culllist some more
w00t [Wed, 16 Jan 2008 16:19:57 +0000 (16:19 +0000)]
Remove an O(log n) in favour of an O(1) operation, and tidy up culllist some more

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8717 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoTwo stage commit: don't set user->muted except in QuitUser (duplicate setting), also...
w00t [Wed, 16 Jan 2008 09:14:23 +0000 (09:14 +0000)]
Two stage commit: don't set user->muted except in QuitUser (duplicate setting), also, change muted to drop all socket operations instead of just not reading the user's buffer if muted is set (no point wasting time - they're going away). Also revert culllist back to once per mainloop iteration now it is much cheaper than previously.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8716 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRe-add support for silent quits (note: we also remove an O(n) doing it this way)
w00t [Wed, 16 Jan 2008 08:55:18 +0000 (08:55 +0000)]
Re-add support for silent quits (note: we also remove an O(n) doing it this way)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8715 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoHacked-up culllist: stores user pointers rather than CullItem, as creating them seems...
w00t [Wed, 16 Jan 2008 07:59:09 +0000 (07:59 +0000)]
Hacked-up culllist: stores user pointers rather than CullItem, as creating them seems to be very expensive and wasteful. Doesn't support silent quits (yet), and User::QuitUser seems to trigger *many* times per user before they are removed (socketengine getting write events to closed socket perhaps). It's still much quicker than the old way (NO perceptible lag AT ALL :))

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8714 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoSomeone forgot to delete what they new :P
brain [Tue, 15 Jan 2008 16:12:39 +0000 (16:12 +0000)]
Someone forgot to delete what they new :P

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8713 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoCullList -> CullItem *
w00t [Tue, 15 Jan 2008 16:06:35 +0000 (16:06 +0000)]
CullList -> CullItem *

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8712 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoCullList: Don't try quit everyone. Speed/resource use enhancement on netsplits..
w00t [Tue, 15 Jan 2008 15:32:22 +0000 (15:32 +0000)]
CullList: Don't try quit everyone. Speed/resource use enhancement on netsplits..

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8711 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix a stupid crash on unknown commands caused by me blindly applying a 1.1 patch...
w00t [Tue, 15 Jan 2008 14:32:52 +0000 (14:32 +0000)]
Fix a stupid crash on unknown commands caused by me blindly applying a 1.1 patch.. doesn't affect 1.1

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8710 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoIPv6 fix, thanks to danieldg. Doesn't affect 1.1.
w00t [Mon, 14 Jan 2008 23:40:16 +0000 (23:40 +0000)]
IPv6 fix, thanks to danieldg. Doesn't affect 1.1.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8709 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoNew timer code. This may be a tiny fraction slower (though I think it will be accepta...
w00t [Sun, 13 Jan 2008 21:29:53 +0000 (21:29 +0000)]
New timer code. This may be a tiny fraction slower (though I think it will be acceptable given that we no longer need to tick old timers etc), but it is a lot simpler (about half the codesize of the old + no allocation of new timergroups etc), and should (I hope) always tick timers and never 'lose' them. Performs okay under 3500 connection attempts (0:00 CPU time :))

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8708 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoUndo my constructor playing, I'm pretty sure it will break stuff. This will require...
w00t [Sun, 13 Jan 2008 19:45:28 +0000 (19:45 +0000)]
Undo my constructor playing, I'm pretty sure it will break stuff. This will require thinkings.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8707 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMove User::AddClient to UserManager::AddClient. WARNING: I assure you this is current...
w00t [Sun, 13 Jan 2008 03:51:04 +0000 (03:51 +0000)]
Move User::AddClient to UserManager::AddClient. WARNING: I assure you this is currently WRONG as I was playing with moving a few bits to the constructor.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8706 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFirst UserManager overhaul: Move clone counts out of InspIRCd & User.
w00t [Sun, 13 Jan 2008 03:37:25 +0000 (03:37 +0000)]
First UserManager overhaul: Move clone counts out of InspIRCd & User.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8705 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd a channel manager class while I'm at it.
w00t [Sun, 13 Jan 2008 03:10:30 +0000 (03:10 +0000)]
Add a channel manager class while I'm at it.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8704 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFeh. Remember the header too.
w00t [Sun, 13 Jan 2008 02:59:06 +0000 (02:59 +0000)]
Feh. Remember the header too.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8703 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd usermanager.cpp
w00t [Sun, 13 Jan 2008 02:57:09 +0000 (02:57 +0000)]
Add usermanager.cpp

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8702 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoI think (and Brain concurs) that B for blockcaps and P for permanent make a lot more...
w00t [Sun, 13 Jan 2008 00:40:23 +0000 (00:40 +0000)]
I think (and Brain concurs) that B for blockcaps and P for permanent make a lot more sense, so 1.2 blockcaps gets mode B.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8701 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoDocument <goodchan>
w00t [Thu, 10 Jan 2008 22:45:51 +0000 (22:45 +0000)]
Document <goodchan>

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8697 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd goodchan tags for m_denychans: Allows the use case of forbidding *warez*, and...
w00t [Thu, 10 Jan 2008 22:43:10 +0000 (22:43 +0000)]
Add goodchan tags for m_denychans: Allows the use case of forbidding *warez*, and allowing #thisreallyisntwarez, or whatever.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8696 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoHeader update: 2007 -> 2008
w00t [Thu, 10 Jan 2008 13:27:07 +0000 (13:27 +0000)]
Header update: 2007 -> 2008

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoErase their quit count on banning (so they get another 10 or whatever attempts, and...
w00t [Thu, 10 Jan 2008 13:20:37 +0000 (13:20 +0000)]
Erase their quit count on banning (so they get another 10 or whatever attempts, and not banned instantly on one quit after that ;p)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8693 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd m_quitban: Bans IPs that connect/disconnect more than X times per 3600 seconds...
w00t [Thu, 10 Jan 2008 13:15:22 +0000 (13:15 +0000)]
Add m_quitban: Bans IPs that connect/disconnect more than X times per 3600 seconds for a configurable duration. Default is 10 quits, 10 minute ban.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8692 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoDocument <options:prefixpart|suffixpart|fixedpart>. Set prefixpart and suffixpart...
w00t [Thu, 10 Jan 2008 11:49:15 +0000 (11:49 +0000)]
Document <options:prefixpart|suffixpart|fixedpart>. Set prefixpart and suffixpart to default to double quote.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8691 e03df62e-2008-0410-955e-edbf42e46eb7