]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
15 years agoConsistancy: Allow opers to +L to a nonexistant channel, as we allow opers to bypass...
w00t [Fri, 24 Oct 2008 15:01:50 +0000 (15:01 +0000)]
Consistancy: Allow opers to +L to a nonexistant channel, as we allow opers to bypass ops restriction.

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

15 years agoRemove (redundant and O(n)) error checking on +L, we catch the errors on join nowdays...
w00t [Fri, 24 Oct 2008 14:56:43 +0000 (14:56 +0000)]
Remove (redundant and O(n)) error checking on +L, we catch the errors on join nowdays anyway, so this was a throwback to the "old days".
Also, add two new restrictions on +L: target channel must exist, and setter *must* be opped on target channel.
Avoids redirect spamming and other nefarious things.
Additionally, reworded numerics a bit to make it more generic, as we may forward for more than just +l in the future.

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

15 years agoFix a plausible memory leak on rehash, thanks dz.
w00t [Fri, 24 Oct 2008 11:17:53 +0000 (11:17 +0000)]
Fix a plausible memory leak on rehash, thanks dz.

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

15 years agoFix broken stuff.
w00t [Fri, 24 Oct 2008 09:07:08 +0000 (09:07 +0000)]
Fix broken stuff.

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

15 years agoAdd <showwhois:showfromopers> setting, requested by MacGyver. Can be useful if you...
w00t [Thu, 23 Oct 2008 21:48:13 +0000 (21:48 +0000)]
Add <showwhois:showfromopers> setting, requested by MacGyver. Can be useful if you don't want suspicious people to know you're watching them.

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

15 years agoRevert earlier time() -> SI->Time() diff for now, this causes problems with dns.cpp...
w00t [Thu, 23 Oct 2008 21:39:00 +0000 (21:39 +0000)]
Revert earlier time() -> SI->Time() diff for now, this causes problems with dns.cpp in mysterious ways.. seemingly a bad pointer there somehow..?

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

15 years agoMake this un-rehashable due to complications/ugliness involved with keeping it this...
w00t [Thu, 23 Oct 2008 21:38:58 +0000 (21:38 +0000)]
Make this un-rehashable due to complications/ugliness involved with keeping it this way (still unusable, please don't use)

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

15 years agoAdd <showwhois:opersonly>, allows server admins to unlock umode +W use for regular...
w00t [Thu, 23 Oct 2008 19:46:14 +0000 (19:46 +0000)]
Add <showwhois:opersonly>, allows server admins to unlock umode +W use for regular users. Users without users/auspex priv (not opered, or just not given) will see display host instead of real host always, though.

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

15 years agoAdd/document channels/set-permanent priv, and tie setting of +P to it.
w00t [Thu, 23 Oct 2008 19:21:22 +0000 (19:21 +0000)]
Add/document channels/set-permanent priv, and tie setting of +P to it.

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

15 years agoPatch from Namegduf converting all instances (where possible) of time() -> ServerInst...
w00t [Thu, 23 Oct 2008 18:15:04 +0000 (18:15 +0000)]
Patch from Namegduf converting all instances (where possible) of time() -> ServerInstance->Time(). Thanks!

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

15 years agoPatch from dz to fix bug 622 (config errors build up from /rehash to /rehash), thanks!
w00t [Thu, 23 Oct 2008 18:07:07 +0000 (18:07 +0000)]
Patch from dz to fix bug 622 (config errors build up from /rehash to /rehash), thanks!

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

15 years agoProper testing that executable exists and is an executable, thanks dz.
w00t [Thu, 23 Oct 2008 14:45:58 +0000 (14:45 +0000)]
Proper testing that executable exists and is an executable, thanks dz.

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

15 years agoRemove debug logging, problem over..
w00t [Wed, 22 Oct 2008 13:27:38 +0000 (13:27 +0000)]
Remove debug logging, problem over..

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

15 years agoFix MacGyver's rehash woes..
w00t [Wed, 22 Oct 2008 13:27:37 +0000 (13:27 +0000)]
Fix MacGyver's rehash woes..

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

15 years agoBit of debug in case this goes wrong again...
w00t [Wed, 22 Oct 2008 13:27:36 +0000 (13:27 +0000)]
Bit of debug in case this goes wrong again...

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

15 years agoOnly announce Q:Line hits on NICK from unregistered users, thanks satmd.
w00t [Wed, 22 Oct 2008 10:13:08 +0000 (10:13 +0000)]
Only announce Q:Line hits on NICK from unregistered users, thanks satmd.

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

15 years agoFirst set our group id, then the user id, because we need to be root to set the
psychon [Wed, 22 Oct 2008 09:14:31 +0000 (09:14 +0000)]
First set our group id, then the user id, because we need to be root to set the
group (else it always fails with EPERM).
Plus also call setgroups(0, NULL); to get rid of the supplementary groups.

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

15 years agoRemove an extremely noisy piece of debug on startup/rehash - this code works fine...
w00t [Mon, 20 Oct 2008 22:33:18 +0000 (22:33 +0000)]
Remove an extremely  noisy piece of debug on startup/rehash - this code works fine anyway

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

15 years agoImplement <security:runasuser> and <security:runasgroup> - allows for set(g|u)id...
w00t [Mon, 20 Oct 2008 22:12:52 +0000 (22:12 +0000)]
Implement <security:runasuser> and <security:runasgroup> - allows for set(g|u)id to drop privs after starting, which can be useful for people who want to bind privileged ports without exposing their anus to a giant cucumber.

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

15 years agoUpdate nsis installer scripts with new example confs and test.conf
brain [Sun, 19 Oct 2008 12:59:42 +0000 (12:59 +0000)]
Update nsis installer scripts with new example confs and test.conf

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

15 years agoYes, Square Meater is a real cow breed. Only aussies would come up with something...
brain [Sun, 19 Oct 2008 12:35:37 +0000 (12:35 +0000)]
Yes, Square Meater is a real cow breed. Only aussies would come up with something so funny.

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

15 years agoDefault 'noisy' to false. Until i hear from w00t i cant see how this can be of use...
brain [Sat, 18 Oct 2008 19:13:25 +0000 (19:13 +0000)]
Default 'noisy' to false. Until i hear from w00t i cant see how this can be of use right now (non-opers get spammed with crap just from doing regular things like joining channels)

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

15 years agoSome documentation corrections, thanks jdhore.
w00t [Sat, 18 Oct 2008 17:09:21 +0000 (17:09 +0000)]
Some documentation corrections, thanks jdhore.

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

15 years agoConvert a number of modules to using privs.
w00t [Sat, 18 Oct 2008 16:53:00 +0000 (16:53 +0000)]
Convert a number of modules to using privs.

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

15 years agoTie settings in mode and whowas to privs.
w00t [Sat, 18 Oct 2008 16:52:59 +0000 (16:52 +0000)]
Tie settings in mode and whowas to privs.

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

15 years agoTie a number of /who settings to servers/auspex and users/auspex respectively.
w00t [Sat, 18 Oct 2008 16:52:58 +0000 (16:52 +0000)]
Tie a number of /who settings to servers/auspex and users/auspex respectively.

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

15 years agoTie display of realhost in USERHOST to users/auspex priv.
w00t [Sat, 18 Oct 2008 16:52:58 +0000 (16:52 +0000)]
Tie display of realhost in USERHOST to users/auspex priv.

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

15 years agoTie /stats that aren't explicitly marked for users into servers/auspex.
w00t [Sat, 18 Oct 2008 16:52:57 +0000 (16:52 +0000)]
Tie /stats that aren't explicitly marked for users into servers/auspex.

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

15 years agoTie module version display to servers/auspex priv.
w00t [Sat, 18 Oct 2008 16:52:56 +0000 (16:52 +0000)]
Tie module version display to servers/auspex priv.

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

15 years agoAdd priv channels/high-join-limit.
w00t [Sat, 18 Oct 2008 16:52:55 +0000 (16:52 +0000)]
Add priv channels/high-join-limit.

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

15 years agoUse servers/auspex and users/auspex privs where needed.
w00t [Sat, 18 Oct 2008 16:52:55 +0000 (16:52 +0000)]
Use servers/auspex and users/auspex privs where needed.

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

15 years agoDocument users/auspex priv, also clarify documentation a tiny bit to make them sound...
w00t [Sat, 18 Oct 2008 16:52:54 +0000 (16:52 +0000)]
Document users/auspex priv, also clarify documentation a tiny bit to make them sound less mysterious.

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

15 years agoDocument servers/auspex priv.
w00t [Sat, 18 Oct 2008 16:52:54 +0000 (16:52 +0000)]
Document servers/auspex priv.

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

15 years agoImplement channels/auspex priv for /names and /list.
w00t [Sat, 18 Oct 2008 16:52:53 +0000 (16:52 +0000)]
Implement channels/auspex priv for /names and /list.

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

15 years agoDocument channels/auspex permission: allows opers with this priv to see more informat...
w00t [Sat, 18 Oct 2008 16:52:52 +0000 (16:52 +0000)]
Document channels/auspex permission: allows opers with this priv to see more information about channels than normal users.

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

15 years agoDocument priv users/mass-message.
w00t [Sat, 18 Oct 2008 16:52:51 +0000 (16:52 +0000)]
Document priv users/mass-message.

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

15 years agoMake use of privs for PRIVMSG also.
w00t [Sat, 18 Oct 2008 16:52:51 +0000 (16:52 +0000)]
Make use of privs for PRIVMSG also.

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

15 years agoWorking privs implementation, and example usage in NOTICE for mass messaging.
w00t [Sat, 18 Oct 2008 16:52:48 +0000 (16:52 +0000)]
Working privs implementation, and example usage in NOTICE for mass messaging.

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

15 years agoMigrate oper commands to an std::set, add a set for privs also. Change the API a...
w00t [Sat, 18 Oct 2008 16:52:46 +0000 (16:52 +0000)]
Migrate oper commands to an std::set, add a set for privs also. Change the API a bit.

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

15 years agoAdd skeleton of HasPrivPermission.
w00t [Sat, 18 Oct 2008 16:52:44 +0000 (16:52 +0000)]
Add skeleton of HasPrivPermission.

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

15 years agoPatch from Namegduf to use established numerics for HELPOP instead of notices.
w00t [Sat, 18 Oct 2008 01:39:35 +0000 (01:39 +0000)]
Patch from Namegduf to use established numerics for HELPOP instead of notices.

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

15 years agoDon't neglect calling User::CheckClass after SetClass, so that users don't end up...
w00t [Fri, 17 Oct 2008 17:57:46 +0000 (17:57 +0000)]
Don't neglect calling User::CheckClass after SetClass, so that users don't end up lingering with a NULL class if they shouldn't.

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

15 years agoRemove space indenting. (Brain, *smack* :P)
w00t [Fri, 17 Oct 2008 17:57:45 +0000 (17:57 +0000)]
Remove space indenting. (Brain, *smack* :P)

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

15 years agoRemove the duplicate checking/disabled setting of <connect> craq, there is a (better...
w00t [Fri, 17 Oct 2008 17:57:42 +0000 (17:57 +0000)]
Remove the duplicate checking/disabled setting of <connect> craq, there is a (better) way to do this, which is to hunt for a new connect class on all users once /rehash happens.

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

15 years agoAdd notices on successful add or remove to callerid list.
w00t [Fri, 17 Oct 2008 17:36:38 +0000 (17:36 +0000)]
Add notices on successful add or remove to callerid list.

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

15 years agoPatch from dz for bug #620, thanks.
aquanight [Fri, 17 Oct 2008 17:17:45 +0000 (17:17 +0000)]
Patch from dz for bug #620, thanks.

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

15 years agopossible fix for bug #623, reported by MacGyver. Untested please test :D
peavey [Thu, 16 Oct 2008 22:53:14 +0000 (22:53 +0000)]
possible fix for bug #623, reported by MacGyver. Untested please test :D

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

15 years agoFixes and improvements from jdhore, thanks
brain [Thu, 16 Oct 2008 19:50:48 +0000 (19:50 +0000)]
Fixes and improvements from jdhore, thanks

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

15 years agoTemporary usable quick conf by jdhore, thanks
brain [Thu, 16 Oct 2008 19:36:27 +0000 (19:36 +0000)]
Temporary usable quick conf by jdhore, thanks

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

15 years agoI changed my mind, i uncommented
brain [Thu, 16 Oct 2008 18:07:27 +0000 (18:07 +0000)]
I changed my mind, i uncommented

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

15 years agoNumerous fixes for m_dccallow - only the first banfile tag mattered, improper behavio...
special [Wed, 15 Oct 2008 23:15:15 +0000 (23:15 +0000)]
Numerous fixes for m_dccallow - only the first banfile tag mattered, improper behavior with no banfile tags, incorrect check for adding yourself to the dccallow list, and several cosmetic issues.

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

15 years agom_ssl_openssl is sending log messages and calling itself m_ssl_gnutls..
special [Wed, 15 Oct 2008 21:55:00 +0000 (21:55 +0000)]
m_ssl_openssl is sending log messages and calling itself m_ssl_gnutls..

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

15 years agoAdd <hidechans:affectsopers>, allows networks to hide channels of a +I user even...
w00t [Wed, 15 Oct 2008 21:21:38 +0000 (21:21 +0000)]
Add <hidechans:affectsopers>, allows networks to hide channels of a +I user even from opers, for added privacy.

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

15 years agoModify $copy macros in comments, fixes bug #617
brain [Wed, 15 Oct 2008 09:39:02 +0000 (09:39 +0000)]
Modify $copy macros in comments, fixes bug #617

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

15 years agohidechans is not oper only.
w00t [Wed, 15 Oct 2008 08:44:36 +0000 (08:44 +0000)]
hidechans is not oper only.

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

15 years agoRemove outdated TODO
brain [Tue, 14 Oct 2008 13:14:50 +0000 (13:14 +0000)]
Remove outdated TODO

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

15 years agoDon't send an override notice if no modes were actually applied, thanks Ankit.
w00t [Mon, 13 Oct 2008 11:50:42 +0000 (11:50 +0000)]
Don't send an override notice if no modes were actually applied, thanks Ankit.

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

15 years agoPatches for updated config from jdhore, thanks! :)
brain [Sun, 12 Oct 2008 17:33:29 +0000 (17:33 +0000)]
Patches for updated config from jdhore, thanks! :)

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

15 years agoMake wget syntax correct for executable includes example
brain [Fri, 10 Oct 2008 21:49:15 +0000 (21:49 +0000)]
Make wget syntax correct for executable includes example

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

15 years agoLatest config file tweaks from jdhore, thanks! :)
brain [Fri, 10 Oct 2008 21:41:38 +0000 (21:41 +0000)]
Latest config file tweaks from jdhore, thanks! :)

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

15 years agoFix messageflood not working (bug #615). Big thanks to dz.
w00t [Fri, 10 Oct 2008 14:25:17 +0000 (14:25 +0000)]
Fix messageflood not working (bug #615). Big thanks to dz.

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

15 years agoUpdate comment that says we dont send simplemodes in FJOIN, we do now.
brain [Fri, 10 Oct 2008 13:10:59 +0000 (13:10 +0000)]
Update comment that says we dont send simplemodes in FJOIN, we do now.

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

15 years agoFix the description of the m_operinvex module in the example config.
psychon [Thu, 9 Oct 2008 18:36:09 +0000 (18:36 +0000)]
Fix the description of the m_operinvex module in the example config.

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

15 years agoApply patch from jmb, for bug #593. Snotices on override are now sent regardless...
w00t [Wed, 8 Oct 2008 12:18:48 +0000 (12:18 +0000)]
Apply patch from jmb, for bug #593. Snotices on override are now sent regardless of noisy setting. Done in preparation for b2 sometime soon.

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

15 years agoFix memory leak in helpop config loading, thanks Macgyver.
w00t [Wed, 8 Oct 2008 11:33:52 +0000 (11:33 +0000)]
Fix memory leak in helpop config loading, thanks Macgyver.

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

15 years agoFix crash caused by me being retarded.
w00t [Wed, 8 Oct 2008 09:33:46 +0000 (09:33 +0000)]
Fix crash caused by me being retarded.

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

15 years agoFix: call OnRawSocketAccept for server connections. This isn't yet done in an ideal...
w00t [Wed, 8 Oct 2008 09:08:30 +0000 (09:08 +0000)]
Fix: call OnRawSocketAccept for server connections. This isn't yet done in an ideal fashion, but it should work for now. Fixes bug #616, reported by dz. Thanks.

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

15 years agoRemove this, we're not going to keep the .old, makes it twice as much work to documen...
brain [Tue, 7 Oct 2008 20:41:54 +0000 (20:41 +0000)]
Remove this, we're not going to keep the .old, makes it twice as much work to document stuff

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

15 years agoAdd jdhore's nicer config files with better readable comments, thanks tons! :)
brain [Tue, 7 Oct 2008 18:34:27 +0000 (18:34 +0000)]
Add jdhore's nicer config files with better readable comments, thanks tons! :)

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

15 years agoTest commit
brain [Tue, 7 Oct 2008 18:20:37 +0000 (18:20 +0000)]
Test commit

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

15 years agoSome more safety checks to catch out invalid client introductions (e.g. from atheme...
brain [Sun, 5 Oct 2008 00:42:36 +0000 (00:42 +0000)]
Some more safety checks to catch out invalid client introductions (e.g. from atheme when its too old (for some reason its no longer checking the protocol ID for this))

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

15 years agoHeader tidyups. Apart from module to module API stuff and external deps, modules...
brain [Sat, 4 Oct 2008 21:27:52 +0000 (21:27 +0000)]
Header tidyups. Apart from module to module API stuff and external deps, modules dont really need to include much but inspircd.h (and xline.h if they create new xline factories)

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

15 years agoWe are including tons more than we need to here, its a mess :p
brain [Sat, 4 Oct 2008 21:18:26 +0000 (21:18 +0000)]
We are including tons more than we need to here, its a mess :p

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

15 years agoFix for bug #613 reported by Casey, m_regex_glob's parameters were back to front!
brain [Sat, 4 Oct 2008 15:06:00 +0000 (15:06 +0000)]
Fix for bug #613 reported by Casey, m_regex_glob's parameters were back to front!

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

15 years agoWhooops! thanks psychon
brain [Fri, 3 Oct 2008 18:19:05 +0000 (18:19 +0000)]
Whooops! thanks psychon

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

15 years agoComments here too
brain [Thu, 2 Oct 2008 23:17:24 +0000 (23:17 +0000)]
Comments here too

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

15 years agoMention ulines too
brain [Thu, 2 Oct 2008 23:14:45 +0000 (23:14 +0000)]
Mention ulines too

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

15 years agoComment on potentially confusing code
brain [Thu, 2 Oct 2008 23:14:12 +0000 (23:14 +0000)]
Comment on potentially confusing code

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

15 years agoThe module hook is kinda required.
brain [Thu, 2 Oct 2008 22:30:37 +0000 (22:30 +0000)]
The module hook is kinda required.

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

15 years agoFix for bug #601
brain [Thu, 2 Oct 2008 22:27:03 +0000 (22:27 +0000)]
Fix for bug #601

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

15 years agoSome suggestions from jilles about handling unknown prefix errors, and some ideas...
brain [Tue, 30 Sep 2008 22:21:34 +0000 (22:21 +0000)]
Some suggestions from jilles about handling unknown prefix errors, and some ideas of my own about handling unknown modes in client introduction to prevent leaving a desynched user on the source server

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

15 years agoFix for bug #604 reported by Phoenix, thanks
brain [Tue, 30 Sep 2008 09:10:43 +0000 (09:10 +0000)]
Fix for bug #604 reported by Phoenix, thanks

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

15 years agoMake topic optional for permanent channels tags.
w00t [Mon, 29 Sep 2008 11:16:07 +0000 (11:16 +0000)]
Make topic optional for permanent channels tags.

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

15 years agoFix inverted logic in restrictchans that caused it to not play nice with permchannels.
w00t [Mon, 29 Sep 2008 10:07:46 +0000 (10:07 +0000)]
Fix inverted logic in restrictchans that caused it to not play nice with permchannels.

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

15 years agoReplace the IP (in addition to hostname) for CGIIRC clients; fixes glines and zlines...
special [Mon, 29 Sep 2008 08:13:49 +0000 (08:13 +0000)]
Replace the IP (in addition to hostname) for CGIIRC clients; fixes glines and zlines on IPs affecting cgiirc users. Thanks to Saz|Laptop

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

15 years agoI think this fixes the mode +k weirdness. Keys were never being set correctly in...
brain [Mon, 29 Sep 2008 01:40:17 +0000 (01:40 +0000)]
I think this fixes the mode +k weirdness. Keys were never being set correctly in the channel data. gcc doesnt warn on cast from char* to bool.

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

15 years agoSuggested by nenolod, lets add this for thread signal safety
brain [Sun, 28 Sep 2008 11:56:57 +0000 (11:56 +0000)]
Suggested by nenolod, lets add this for thread signal safety

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

15 years agoFix <options:noservices> causing +o (and +q!) not being correctly given on channel...
aquanight [Fri, 26 Sep 2008 18:16:14 +0000 (18:16 +0000)]
Fix <options:noservices> causing +o (and +q!) not being correctly given on channel create

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

15 years agoInitialise SSL session pointer to NULL to prevent a potentially unsafe comparison...
w00t [Fri, 26 Sep 2008 10:50:53 +0000 (10:50 +0000)]
Initialise SSL session pointer to NULL to prevent a potentially unsafe comparison, thanks Macgyver.

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

15 years agoJersey cows!
brain [Thu, 25 Sep 2008 20:33:05 +0000 (20:33 +0000)]
Jersey cows!

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

15 years agoAlso fix here; glob patterns may not start with > or <. TODO: iterate comma sep token...
peavey [Thu, 25 Sep 2008 12:41:39 +0000 (12:41 +0000)]
Also fix here; glob patterns may not start with > or <. TODO: iterate comma sep tokenlist to catch LIST >0,<10000 as other IRCDs do.

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

15 years agoFix faulty logic, glob patterns may not start with > or <. TODO: iterate comma sep...
peavey [Thu, 25 Sep 2008 12:33:49 +0000 (12:33 +0000)]
Fix faulty logic, glob patterns may not start with > or <. TODO: iterate comma sep tokenlist to catch LIST >0,<10000 as other IRCDs do.

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

15 years agoFix for bug #610 reported by ankit, numeric changed to 505
brain [Wed, 24 Sep 2008 19:02:15 +0000 (19:02 +0000)]
Fix for bug #610 reported by ankit, numeric changed to 505

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

15 years agoFix for listening sockets not clearing their timeout on connected. Reported by Sazpaimon.
peavey [Wed, 24 Sep 2008 15:31:35 +0000 (15:31 +0000)]
Fix for listening sockets not clearing their timeout on connected. Reported by Sazpaimon.

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

15 years agoSet Id property on a bunch of modules which lack it, etc.
brain [Mon, 22 Sep 2008 15:22:15 +0000 (15:22 +0000)]
Set Id property on a bunch of modules which lack it, etc.

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

15 years agowarning-free on windows
brain [Mon, 22 Sep 2008 11:28:44 +0000 (11:28 +0000)]
warning-free on windows

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

15 years agoWindows compile fixes for RLine
brain [Mon, 22 Sep 2008 08:38:45 +0000 (08:38 +0000)]
Windows compile fixes for RLine

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

15 years agoSecond part of fix for bug #605, make adding and removal of lines not case sensitive
brain [Mon, 22 Sep 2008 01:16:15 +0000 (01:16 +0000)]
Second part of fix for bug #605, make adding and removal of lines not case sensitive

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

15 years agoFix for bug #605 reported by MacGuyver, if a line is expired when we are adding anoth...
brain [Mon, 22 Sep 2008 01:11:23 +0000 (01:11 +0000)]
Fix for bug #605 reported by MacGuyver, if a line is expired when we are adding another with the same hostmask, replace the existing line with the new one

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

15 years agoFix /STATS output to show the regex module in use
brain [Sun, 21 Sep 2008 20:37:24 +0000 (20:37 +0000)]
Fix /STATS output to show the regex module in use

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