]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
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

16 years agoImplement <options:prefixpart|suffixpart|fixedpart>
w00t [Thu, 10 Jan 2008 11:47:15 +0000 (11:47 +0000)]
Implement <options:prefixpart|suffixpart|fixedpart>

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

16 years agoAdd optional SAPART reason. No prefixing done yet.
w00t [Thu, 10 Jan 2008 11:16:17 +0000 (11:16 +0000)]
Add optional SAPART reason. No prefixing done yet.

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

16 years agoRegister RLine factory on load, unregister it on unload.
w00t [Thu, 10 Jan 2008 08:14:54 +0000 (08:14 +0000)]
Register RLine factory on load, unregister it on unload.

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

16 years agoFix bug in rline, xline derived class declared itself as xline type 'K' not 'R'
brain [Thu, 10 Jan 2008 02:37:42 +0000 (02:37 +0000)]
Fix bug in rline, xline derived class declared itself as xline type 'K' not 'R'

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

16 years agoFix some random crash due to my not knowing how to use STL *shrug*
w00t [Wed, 9 Jan 2008 23:35:39 +0000 (23:35 +0000)]
Fix some random crash due to my not knowing how to use STL *shrug*

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

16 years agoCorrect a few things, and yay for code that randomly decides to work.
w00t [Wed, 9 Jan 2008 23:30:15 +0000 (23:30 +0000)]
Correct a few things, and yay for code that randomly decides to work.

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

16 years agoUtterly untested RLINE
w00t [Wed, 9 Jan 2008 22:35:24 +0000 (22:35 +0000)]
Utterly untested RLINE

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

16 years agoFlesh this out a little more. Create our derived XLine and factory. Doesn't implement...
w00t [Wed, 9 Jan 2008 22:07:43 +0000 (22:07 +0000)]
Flesh this out a little more. Create our derived XLine and factory. Doesn't implement a command yet.

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

16 years agoAdd RLINE skeleton module to move it between PCs (I'm lazy :p)
w00t [Wed, 9 Jan 2008 21:38:06 +0000 (21:38 +0000)]
Add RLINE skeleton module to move it between PCs (I'm lazy :p)

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

16 years agoFix for bug #464, taxonomy output spooled to target not to requestor, reported by...
brain [Wed, 9 Jan 2008 15:26:24 +0000 (15:26 +0000)]
Fix for bug #464, taxonomy output spooled to target not to requestor, reported by John, thanks :)

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

16 years agoAdd OnExpireLine hook to xline db stuff
w00t [Wed, 9 Jan 2008 12:31:59 +0000 (12:31 +0000)]
Add OnExpireLine hook to xline db stuff

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

16 years agoAdd OnExpireLine(XLine *) hook, will be used in xline db stuff to avoid getting a...
w00t [Wed, 9 Jan 2008 12:20:21 +0000 (12:20 +0000)]
Add OnExpireLine(XLine *) hook, will be used in xline db stuff to avoid getting a fucked up vector

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

16 years agoSome quick credits updates.. nothing huge, just people that have been helpful during...
w00t [Wed, 9 Jan 2008 12:04:09 +0000 (12:04 +0000)]
Some quick credits updates.. nothing huge, just people that have been helpful during 1.2 so far, etc..

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

16 years agoFake lag on nick change, thanks pLaYa
w00t [Wed, 9 Jan 2008 11:47:04 +0000 (11:47 +0000)]
Fake lag on nick change, thanks pLaYa

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

16 years agoRemove useless debug from here (finished with it), and add some debug that makes...
w00t [Wed, 9 Jan 2008 08:41:45 +0000 (08:41 +0000)]
Remove useless debug from here (finished with it), and add some debug that makes sense :P

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

16 years agoFix bug in new XLine system (thanks Brain) - I don't know how I didn't spot this...
w00t [Wed, 9 Jan 2008 08:08:50 +0000 (08:08 +0000)]
Fix bug in new XLine system (thanks Brain) - I don't know how I didn't spot this one :P

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

16 years agoFix problem #2 (this means that xlinedb is essentially working and feature-complete...
w00t [Tue, 8 Jan 2008 23:33:57 +0000 (23:33 +0000)]
Fix problem #2 (this means that xlinedb is essentially working and feature-complete..). XLine subsystem still seems to be having rather screwed problems per bug #457.

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

16 years agoFix problem #1 by setting a lock on writes when we're reading. This means no more...
w00t [Tue, 8 Jan 2008 23:27:29 +0000 (23:27 +0000)]
Fix problem #1 by setting a lock on writes when we're reading. This means no more stupid/pointless writes.

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

16 years agoxline.db reading. Two things I notice are funky in some way about this.. 1) db module...
w00t [Tue, 8 Jan 2008 23:23:10 +0000 (23:23 +0000)]
xline.db reading. Two things I notice are funky in some way about this.. 1) db module needs to know when lines are being added because of db read (else it generates spurious writes), 2) somehow, my E:Lines in my db turned into glines. Other than that, it seems to have worked.

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

16 years agoCode to write xline.db.. reading is not yet handled.
w00t [Tue, 8 Jan 2008 22:46:30 +0000 (22:46 +0000)]
Code to write xline.db.. reading is not yet handled.

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