]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
15 years agoSecond attempt at time() -> SI->Time(), now problems with the original were fixed...
w00t [Sat, 1 Nov 2008 23:02:23 +0000 (23:02 +0000)]
Second attempt at time() -> SI->Time(), now problems with the original were fixed. (SI::TIME was not initialised).
Thanks Namegduf!
(Please test, all, valdebug etc, report odd behaviour/warnings!)

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

15 years agoFix opercert to behave correctly, patch from and tested by dz -- thanks!
w00t [Sat, 1 Nov 2008 20:22:48 +0000 (20:22 +0000)]
Fix opercert to behave correctly, patch from and tested by dz -- thanks!

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

15 years agoRemove now-unneeded 4in6 hacks [danieldg]
w00t [Sat, 1 Nov 2008 20:20:12 +0000 (20:20 +0000)]
Remove now-unneeded 4in6 hacks [danieldg]

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

15 years agoAdd comments on Daniel's work
w00t [Sat, 1 Nov 2008 20:20:12 +0000 (20:20 +0000)]
Add comments on Daniel's work

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

15 years agoSimulate AF_INET addresses for 4in6 connections [danieldg]
w00t [Sat, 1 Nov 2008 20:20:11 +0000 (20:20 +0000)]
Simulate AF_INET addresses for 4in6 connections [danieldg]

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

15 years agoMerge commit 'ddg/out-12'
w00t [Sat, 1 Nov 2008 17:32:19 +0000 (17:32 +0000)]
Merge commit 'ddg/out-12'

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

15 years agoFix bug #630, reported by Jorijn, fix by dz. Bitmask dnsbl records not working. Thanks!
w00t [Sat, 1 Nov 2008 17:31:40 +0000 (17:31 +0000)]
Fix bug #630, reported by Jorijn, fix by dz. Bitmask dnsbl records not working. Thanks!

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

15 years agoSend remote de-oper to REMOTEOPER snomask.
w00t [Sat, 1 Nov 2008 17:20:48 +0000 (17:20 +0000)]
Send remote de-oper to REMOTEOPER snomask.

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

15 years agoResolve a conflict by changing override to +s +G (godmode) instead of +s +O.
w00t [Sat, 1 Nov 2008 17:20:47 +0000 (17:20 +0000)]
Resolve a conflict by changing override to +s +G (godmode) instead of +s +O.

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

15 years agoFix a result of Tired Coding (tm)
w00t [Sat, 1 Nov 2008 17:02:25 +0000 (17:02 +0000)]
Fix a result of Tired Coding (tm)

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

15 years agoIt is not my %$"*&%" day. This never happened.
w00t [Fri, 31 Oct 2008 23:57:34 +0000 (23:57 +0000)]
It is not my %$"*&%" day. This never happened.

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

15 years agoTidy up FJOIN processing somewhat - don't bother faking a TS to get modes accepted...
w00t [Fri, 31 Oct 2008 23:52:59 +0000 (23:52 +0000)]
Tidy up FJOIN processing somewhat - don't bother faking a TS to get modes accepted, just use a high technology of programming known as an "if statement". Also add generous debug to this via snomask +d, as it seems the occasional desync is occuring.

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

15 years agoI am a retard. Hear me DROOOOOOOOOOOOOOOOOOOOLLLLLLLLLLLLLLLLLLLLL...
w00t [Fri, 31 Oct 2008 23:25:21 +0000 (23:25 +0000)]
I am a retard. Hear me DROOOOOOOOOOOOOOOOOOOOLLLLLLLLLLLLLLLLLLLLL...

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

15 years agoAdd REMOTEOPER snomask.. use it.
w00t [Fri, 31 Oct 2008 23:19:36 +0000 (23:19 +0000)]
Add REMOTEOPER snomask.. use it.

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

15 years agoMove some messages (correctly) to remote link snomask.
w00t [Fri, 31 Oct 2008 23:14:41 +0000 (23:14 +0000)]
Move some messages (correctly) to remote link snomask.

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

15 years agoFix crash.
w00t [Fri, 31 Oct 2008 19:08:23 +0000 (19:08 +0000)]
Fix crash.

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

15 years agoRename to test
brain [Fri, 31 Oct 2008 19:05:04 +0000 (19:05 +0000)]
Rename to test

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

15 years agoRename to test.conf
brain [Fri, 31 Oct 2008 19:04:42 +0000 (19:04 +0000)]
Rename to test.conf

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

15 years agoRedo removal of m_services crap.. temp/ dir readded per jdhore..
w00t [Fri, 31 Oct 2008 17:14:18 +0000 (17:14 +0000)]
Redo removal of m_services crap.. temp/ dir readded per jdhore..

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

15 years agoRevert "Remove m_services and documentation relating to it. Also remove conf/temp...
w00t [Fri, 31 Oct 2008 17:14:14 +0000 (17:14 +0000)]
Revert "Remove m_services and documentation relating to it. Also remove conf/temp/ (??)"

This reverts commit 500fec7ed0c02df7f4086f1827eaae1167a9ecd9.

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

15 years agoRemove m_services and documentation relating to it. Also remove conf/temp/ (??)
w00t [Fri, 31 Oct 2008 16:44:37 +0000 (16:44 +0000)]
Remove m_services and documentation relating to it. Also remove conf/temp/ (??)

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

15 years agoMerge m_services functionality into m_services_account.
w00t [Fri, 31 Oct 2008 16:23:30 +0000 (16:23 +0000)]
Merge m_services functionality into m_services_account.
Note that +MR will only function if user has an account for tidiness, but services are now offered +r on channels and nicks
to mark them as registered. This functionally means that there is no longer need for m_services.
This commit also fixes a number of minor race conditions.

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

15 years agoAdd snomask +s +L - remote link notices.
w00t [Fri, 31 Oct 2008 15:23:21 +0000 (15:23 +0000)]
Add snomask +s +L - remote link notices.
Can be a useful distinction for bigger networks or networks with more distinction on what people can and cannot see.
This also makes RemoteMessage more match it's docs and removes useless redundancy.

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

15 years agoRevert "Remove user no longer being watched, not the quitting one. Fix from Szymek...
w00t [Fri, 31 Oct 2008 12:45:29 +0000 (12:45 +0000)]
Revert "Remove user no longer being watched, not the quitting one. Fix from Szymek (thanks), tested by Darom."

This reverts commit 636b4b712aecf427e1f6e48e456b9221ae53dc4e.

This commit is *NOT* correct, and causes crashes, nor can I see (with review) how this is wrong...

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

15 years agoFix a header that was partly in the older style.
w00t [Fri, 31 Oct 2008 00:11:48 +0000 (00:11 +0000)]
Fix a header that was partly in the older style.

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

15 years agoBetter error message for erroring on loading server cert - give certfile/keyfile...
w00t [Thu, 30 Oct 2008 23:36:12 +0000 (23:36 +0000)]
Better error message for erroring on loading server cert - give certfile/keyfile in the error message.

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

15 years agoRevert docs on setting too.
w00t [Thu, 30 Oct 2008 20:48:11 +0000 (20:48 +0000)]
Revert docs on setting too.

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

15 years agoRevert "Add option to allow +q to +q users, +a to +a users."
w00t [Thu, 30 Oct 2008 20:47:13 +0000 (20:47 +0000)]
Revert "Add option to allow +q to +q users, +a to +a users."

This reverts commit 1c035722a6083f9d625aba8e34fb1cff3895808a.

This is currently broken, and I don't want it screwing up beta3...

Conflicts:

src/modules/m_chanprotect.cpp

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

15 years agoFix a compiler warning about a redefinition of some symbol.
psychon [Thu, 30 Oct 2008 19:53:58 +0000 (19:53 +0000)]
Fix a compiler warning about a redefinition of some symbol.
Does nobody else read compiler warnings? Oo

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

15 years agoFix for "unknown commands" w/ m_abbreviation, thanks dz for making me understand...
w00t [Wed, 29 Oct 2008 16:06:23 +0000 (16:06 +0000)]
Fix for "unknown commands" w/ m_abbreviation, thanks dz for making me understand this.

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

15 years agoAdd +s +J - for remote channel creation. This helps m_chanlog stop being quite so...
w00t [Wed, 29 Oct 2008 15:21:05 +0000 (15:21 +0000)]
Add +s +J - for remote channel creation. This helps m_chanlog stop being quite so silly, and also means that opers on larger networks won't be flooded to death.

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

15 years agoMake this less confusing for us and users
w00t [Tue, 28 Oct 2008 23:20:31 +0000 (23:20 +0000)]
Make this less confusing for us and users

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

15 years agoFix 4in6 IP resolution hack now that the leading ::ffff: is stripped from the IP...
w00t [Tue, 28 Oct 2008 23:20:30 +0000 (23:20 +0000)]
Fix 4in6 IP resolution hack now that the leading ::ffff: is stripped from the IP [danieldg]

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

15 years agoRemove one (now unneeded) 4in6 hack.
w00t [Tue, 28 Oct 2008 23:20:28 +0000 (23:20 +0000)]
Remove one (now unneeded) 4in6 hack.

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

15 years agoImprove ./inspircd stop [danieldg]
w00t [Tue, 28 Oct 2008 18:29:40 +0000 (18:29 +0000)]
Improve ./inspircd stop [danieldg]

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

15 years agoRemove ancient comment.
w00t [Tue, 28 Oct 2008 16:12:30 +0000 (16:12 +0000)]
Remove ancient comment.

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

15 years agoAdd reasons to other modules that implement XLines also.
w00t [Tue, 28 Oct 2008 16:11:20 +0000 (16:11 +0000)]
Add reasons to other modules that implement XLines also.

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

15 years agoRemove comment, as it is now done.
w00t [Tue, 28 Oct 2008 16:04:40 +0000 (16:04 +0000)]
Remove comment, as it is now done.

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

15 years agoMove chanprotect settings from <options> to <chanprotect>.
w00t [Tue, 28 Oct 2008 15:52:45 +0000 (15:52 +0000)]
Move chanprotect settings from <options> to <chanprotect>.
(why were they not there in the first place?)
Document <chanprotect:setprivsonothers>.

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

15 years agoAdd option to allow +q to +q users, +a to +a users.
w00t [Tue, 28 Oct 2008 15:52:44 +0000 (15:52 +0000)]
Add option to allow +q to +q users, +a to +a users.

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

15 years agoMove spanningtree to the bottom of the module configuration file. Thanks MacGyver.
w00t [Tue, 28 Oct 2008 15:21:09 +0000 (15:21 +0000)]
Move spanningtree to the bottom of the module configuration file. Thanks MacGyver.

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

15 years agoWatch visibility test was working the wrong way. Patch from Darom.
w00t [Tue, 28 Oct 2008 10:32:50 +0000 (10:32 +0000)]
Watch visibility test was working the wrong way. Patch from Darom.

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

15 years agodz added to /info, psychon (omitted?!) added to startup :)
w00t [Tue, 28 Oct 2008 00:39:03 +0000 (00:39 +0000)]
dz added to /info, psychon (omitted?!) added to startup :)

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

15 years agoAdd user/channel mode synchronisation detection to CAPAB - link will now drop if...
w00t [Mon, 27 Oct 2008 22:29:56 +0000 (22:29 +0000)]
Add user/channel mode synchronisation detection to CAPAB - link will now drop if modes differ in some way (one side requires param, other doesn't, etc). Same for user modes.
This will not affect services. Side effect: Modes::ChanModes() -> Modes::GiveModeList(ModeMasks), mode list is formatted
identically for both MASK_CHANNEL and MASK_USER.

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

15 years agoMerge commit 'danieldg/out-12'
w00t [Mon, 27 Oct 2008 22:19:43 +0000 (22:19 +0000)]
Merge commit 'danieldg/out-12'

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

15 years agoBe a hell of a lot more strict about malformed UID commands. We've always been strict...
w00t [Mon, 27 Oct 2008 21:51:48 +0000 (21:51 +0000)]
Be a hell of a lot more strict about malformed UID commands. We've always been strict in the past, for some reason, we were previously very permissive about broken UID - there is no reason to be. If they're fucking up, then make them fix their problem :) (this is also a lazy man's fix to get around bad pointers/etc by deleting users outside of culllist).

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

15 years agoFix redundant stats snotice, thanks dz.
w00t [Mon, 27 Oct 2008 20:41:06 +0000 (20:41 +0000)]
Fix redundant stats snotice, thanks dz.

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

15 years agoRemove user no longer being watched, not the quitting one. Fix from Szymek (thanks...
w00t [Mon, 27 Oct 2008 20:29:08 +0000 (20:29 +0000)]
Remove user no longer being watched, not the quitting one. Fix from Szymek (thanks), tested by Darom.

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

15 years agoImprovments to valdebug-unattended [danieldg]
w00t [Mon, 27 Oct 2008 20:15:53 +0000 (20:15 +0000)]
Improvments to valdebug-unattended [danieldg]

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

15 years agovalgrind-unattended patch by MacGyver, thanks a ton! :)
brain [Mon, 27 Oct 2008 19:08:31 +0000 (19:08 +0000)]
valgrind-unattended patch by MacGyver, thanks a ton! :)

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

15 years agoD'oh
brain [Sun, 26 Oct 2008 19:27:23 +0000 (19:27 +0000)]
D'oh

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

15 years agoEpic fail, did someone order a shipment of fail?
brain [Sun, 26 Oct 2008 19:20:25 +0000 (19:20 +0000)]
Epic fail, did someone order a shipment of fail?

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

15 years agoThis one too
brain [Sun, 26 Oct 2008 19:09:50 +0000 (19:09 +0000)]
This one too

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

15 years agoFix obvious oversight spotted by Ankit, provide xline reasons when adding them
brain [Sun, 26 Oct 2008 19:09:25 +0000 (19:09 +0000)]
Fix obvious oversight spotted by Ankit, provide xline reasons when adding them

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

15 years agofix for banwalk and keys reported by mix941
peavey [Sun, 26 Oct 2008 00:27:04 +0000 (00:27 +0000)]
fix for banwalk and keys reported by mix941

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

15 years agoFix a number of commands to have max_params field. This means in practice, that colon...
w00t [Sat, 25 Oct 2008 16:41:13 +0000 (16:41 +0000)]
Fix a number of commands to have max_params field. This means in practice, that colons on gline reasons (etc) are no longer mandatory, provided the command tells the core how many parameters at max it has.

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

15 years agoExplain the duplicate OnPreCommand call.
w00t [Sat, 25 Oct 2008 16:41:12 +0000 (16:41 +0000)]
Explain the duplicate OnPreCommand call.

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

15 years agoBy moving OnPreCommand call in two places, modules (even with unverified commands...
w00t [Sat, 25 Oct 2008 16:41:11 +0000 (16:41 +0000)]
By moving OnPreCommand call in two places, modules (even with unverified commands) can still recieve the command with max_params at most if it exists.

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

15 years agoAdd optional max_params for commands, which means that we can compress 'extra' params...
w00t [Sat, 25 Oct 2008 16:41:09 +0000 (16:41 +0000)]
Add optional max_params for commands, which means that we can compress 'extra' params, while still accepting ':' terminated params, etc.

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

15 years agoMissed one, w00t :)
aquanight [Sat, 25 Oct 2008 14:05:42 +0000 (14:05 +0000)]
Missed one, w00t :)

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

15 years agoFix <disabled:umodes> interfering with /unloadmodule m_implementing_a_umode, aquanigh...
w00t [Sat, 25 Oct 2008 14:02:11 +0000 (14:02 +0000)]
Fix <disabled:umodes> interfering with /unloadmodule m_implementing_a_umode, aquanight, you didn't look quite far enough into this - the problem was m_cloaking (e.g.) returning MODEACTION_DENY if src != dest, which was very very oooold behaviour. Seems to work fine now.

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

15 years agoFix another connect class bug on rehash
w00t [Sat, 25 Oct 2008 14:02:10 +0000 (14:02 +0000)]
Fix another connect class bug on rehash

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

15 years agoUse TargetTypeFlags instead of int in a few places.
w00t [Sat, 25 Oct 2008 13:14:23 +0000 (13:14 +0000)]
Use TargetTypeFlags instead of int in a few places.

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

15 years agoAs we have an enum for type, why not ..use it?
w00t [Sat, 25 Oct 2008 13:14:22 +0000 (13:14 +0000)]
As we have an enum for type, why not ..use it?

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

15 years agoLast of documentation for protocol interface. XXX, ProtocolInterface::GetServerList...
w00t [Sat, 25 Oct 2008 12:59:14 +0000 (12:59 +0000)]
Last of documentation for protocol interface. XXX, ProtocolInterface::GetServerList is quite poorly documented.

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

15 years agoDocument SendMode.
w00t [Sat, 25 Oct 2008 12:59:13 +0000 (12:59 +0000)]
Document SendMode.

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

15 years agoDocument SendTopic.
w00t [Sat, 25 Oct 2008 12:59:13 +0000 (12:59 +0000)]
Document SendTopic.

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

15 years agoDocument SendMetaData.
w00t [Sat, 25 Oct 2008 12:59:12 +0000 (12:59 +0000)]
Document SendMetaData.

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

15 years agoDocument ENCAP.
w00t [Sat, 25 Oct 2008 12:59:11 +0000 (12:59 +0000)]
Document ENCAP.

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

15 years agoNote where to find the docs.
w00t [Sat, 25 Oct 2008 12:59:11 +0000 (12:59 +0000)]
Note where to find the docs.

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

15 years agoNuke space indents from orbit. (die!!)
w00t [Sat, 25 Oct 2008 12:59:10 +0000 (12:59 +0000)]
Nuke space indents from orbit. (die!!)

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

15 years agoMove spanningtree to use OnChangeLocalUserHost instead of OnChangeHost, this makes...
w00t [Sat, 25 Oct 2008 12:21:14 +0000 (12:21 +0000)]
Move spanningtree to use OnChangeLocalUserHost instead of OnChangeHost, this makes more sense, and also means we can call OnChangeHost for remote clients too, making it actually match it's documentation for the first time ever!

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

15 years ago(sort of..) Revert commit 7736e920fe6ccaf9ad1984afc70db19efd4fb8cd - remove dupe...
w00t [Sat, 25 Oct 2008 10:17:53 +0000 (10:17 +0000)]
(sort of..) Revert commit 7736e920fe6ccaf9ad1984afc70db19efd4fb8cd - remove dupe checking on connect classes. Now, we just delete ones with refcount 0 on rehash, and add new ones. Connection can only match a non-disabled class, so most of the braindamage should be gone from here, without causing wild pointer fun..

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

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