]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
15 years agoBranch merge
w00t [Fri, 2 Jan 2009 18:45:12 +0000 (18:45 +0000)]
Branch merge

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

15 years agoUpdate copyrights for 2009.
w00t [Fri, 2 Jan 2009 18:16:05 +0000 (18:16 +0000)]
Update copyrights for 2009.

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

15 years agoFix typo opermoth -> opermotd. Thanks Ankit.
peavey [Fri, 2 Jan 2009 16:03:42 +0000 (16:03 +0000)]
Fix typo opermoth -> opermotd. Thanks Ankit.

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

15 years agoMake it optional to show opermotd on /OPER, defaults to showing the motd if not speci...
peavey [Fri, 2 Jan 2009 15:59:02 +0000 (15:59 +0000)]
Make it optional to show opermotd on /OPER, defaults to showing the motd if not specified.

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

15 years agoChange numeric 671, starttls failure to 691. 671 conflicts with unreal's ssl user...
brain [Wed, 31 Dec 2008 13:00:01 +0000 (13:00 +0000)]
Change numeric 671, starttls failure to 691. 671 conflicts with unreal's ssl user numeric. It's documented on our wiki as 'kineircd' but kineircd was never even realeased, so we cant go on that, we'll go with what the unreal numeric says.

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

15 years agoFix bug spotted by KingTarquin, if an empty string is given to /stats with "STATS...
brain [Sun, 28 Dec 2008 22:18:49 +0000 (22:18 +0000)]
Fix bug spotted by KingTarquin, if an empty string is given to /stats with "STATS :", then a byte of undefined memory in a std::string object is read as the stats char. Probably unsafe.

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

15 years agoChange a few bits to use std::list instead of std::vector.
w00t [Sun, 28 Dec 2008 03:27:28 +0000 (03:27 +0000)]
Change a few bits to use std::list instead of std::vector.
Vector is better than list, unless:
 - you require random access (these don't)
 - you require that the memory they are stored in are contiguous (these don't)
This will save a couple of bytes here and there perhaps (along with
much less problems with memory fragmentation and allocation).

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

15 years agoModify STARTTLS error message to clarify that it may not be sent after registration...
w00t [Sun, 28 Dec 2008 02:29:10 +0000 (02:29 +0000)]
Modify STARTTLS error message to clarify that it may not be sent after registration has commenced.

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

15 years agoFix unnecessary use of map, set is better suited.
w00t [Sat, 27 Dec 2008 13:52:37 +0000 (13:52 +0000)]
Fix unnecessary use of map, set is better suited.

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

15 years agoFix a comment too.
w00t [Sat, 27 Dec 2008 13:46:54 +0000 (13:46 +0000)]
Fix a comment too.

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

15 years agoUse std::set instead of std::map needlessly.
w00t [Sat, 27 Dec 2008 13:34:52 +0000 (13:34 +0000)]
Use std::set instead of std::map needlessly.

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

15 years agoMark a member static so it isn't exported needlessly.
w00t [Sat, 27 Dec 2008 13:34:51 +0000 (13:34 +0000)]
Mark a member static so it isn't exported needlessly.

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

15 years agoPlace CRT debug defines in win32wrapper.h, so they are defined everywhere. This was...
w00t [Sat, 27 Dec 2008 03:18:51 +0000 (03:18 +0000)]
Place CRT debug defines in win32wrapper.h, so they are defined everywhere. This was also incorrectly inside an ifndef WINDOWS, and hadbeen for a while. (oops.)

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

15 years agoRemove extra 'i'.. oopsie :P
w00t [Sat, 27 Dec 2008 02:48:53 +0000 (02:48 +0000)]
Remove extra 'i'.. oopsie :P

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

15 years agoRemove silly comment from r10,000.. mostly just testing vim..
w00t [Sat, 27 Dec 2008 02:45:29 +0000 (02:45 +0000)]
Remove silly comment from r10,000.. mostly just testing vim..

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

15 years agoCover most of the included oper commands in the default examples of class tags, so...
brain [Sat, 27 Dec 2008 02:41:12 +0000 (02:41 +0000)]
Cover most of the included oper commands in the default examples of class tags, so that less users are confused about missing commands from the defaults

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

15 years agoSpelig eror.
brain [Sat, 27 Dec 2008 02:29:12 +0000 (02:29 +0000)]
Spelig eror.

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

15 years agoWe dont need <type:canquiet> now in 1.2, as class tags allow restrictions of user...
brain [Sat, 27 Dec 2008 02:18:46 +0000 (02:18 +0000)]
We dont need <type:canquiet> now in 1.2, as class tags allow restrictions of user and channel modes directly via the core, without need for this extra security sugar

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

15 years agopropset m_operprefix
dz [Fri, 26 Dec 2008 15:44:38 +0000 (15:44 +0000)]
propset m_operprefix

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

15 years agoVF_VENDOR, ModDesc
w00t [Fri, 26 Dec 2008 15:23:07 +0000 (15:23 +0000)]
VF_VENDOR, ModDesc

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

15 years agoReturn ERR_NOPRIVILEGES for +P without channels/set-permanent priv.
w00t [Wed, 24 Dec 2008 00:45:03 +0000 (00:45 +0000)]
Return ERR_NOPRIVILEGES for +P without channels/set-permanent priv.

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

15 years agoFix for bug #646, reported by whotookspaz (+y not being applied to existing channels...
w00t [Wed, 24 Dec 2008 00:45:02 +0000 (00:45 +0000)]
Fix for bug #646, reported by whotookspaz (+y not being applied to existing channels on oper). Thanks!

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

15 years agoBackport from socket branch: allow read and write events to be triggered on one kqueu...
w00t [Tue, 23 Dec 2008 16:14:38 +0000 (16:14 +0000)]
Backport from socket branch: allow read and write events to be triggered on one kqueue iteration

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

15 years agoMake error message on finding an un-includable include a bit more helpful
w00t [Mon, 22 Dec 2008 15:05:01 +0000 (15:05 +0000)]
Make error message on finding an un-includable include a bit more helpful

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

15 years agoAllow for kick from a server origin to have a comma seperated list of nicknames to...
brain [Sun, 21 Dec 2008 18:12:08 +0000 (18:12 +0000)]
Allow for kick from a server origin to have a comma seperated list of nicknames to be kicked. Previously this was only supported by the user origin version

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

15 years agoMinor documentation fix, spotted by Johannes13
dz [Sun, 21 Dec 2008 13:44:01 +0000 (13:44 +0000)]
Minor documentation fix, spotted by Johannes13

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

15 years agoReadd check for +P setting to channels/set-permanent priv, thanks Johannes13 - naught...
w00t [Sat, 20 Dec 2008 13:09:34 +0000 (13:09 +0000)]
Readd check for +P setting to channels/set-permanent priv, thanks Johannes13 - naughty Namegduf for patching this out :)

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

15 years agoWakey wakey w00t :p
brain [Thu, 18 Dec 2008 23:01:29 +0000 (23:01 +0000)]
Wakey wakey w00t :p

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

15 years agoFix a windows compile screwup, courtesy of me.
w00t [Thu, 18 Dec 2008 22:20:43 +0000 (22:20 +0000)]
Fix a windows compile screwup, courtesy of me.

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

15 years agoNew iterative replacement function for m_censor, so that if some silly admin defines...
brain [Thu, 18 Dec 2008 19:16:45 +0000 (19:16 +0000)]
New iterative replacement function for m_censor, so that if some silly admin defines a replacement string that itself contains the search string, then the module wont get stuck in an infinite loop :p

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

15 years agoProperly disconnect clients that send STARTTLS after registering; noticed by jdhore
dz [Thu, 18 Dec 2008 02:52:22 +0000 (02:52 +0000)]
Properly disconnect clients that send STARTTLS after registering; noticed by jdhore

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

15 years agoAdded the VF_VENDOR flag to m_servprotect; noticed by Johannes13
special [Tue, 16 Dec 2008 16:18:16 +0000 (16:18 +0000)]
Added the VF_VENDOR flag to m_servprotect; noticed by Johannes13

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

15 years agoRemove numbers from these. They shouldn't be used anyway, enums are designed to preve...
w00t [Mon, 15 Dec 2008 13:58:43 +0000 (13:58 +0000)]
Remove numbers from these. They shouldn't be used anyway, enums are designed to prevent magic numbers abuse :).
Thanks Johannes13!

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

15 years agoHandle file not found, and tidy up the perl.
peavey [Mon, 15 Dec 2008 13:31:56 +0000 (13:31 +0000)]
Handle file not found, and tidy up the perl.

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

15 years agoStupid linebreak.
w00t [Mon, 15 Dec 2008 12:49:48 +0000 (12:49 +0000)]
Stupid linebreak.

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

15 years agoAdd missing copyright header.
w00t [Mon, 15 Dec 2008 12:14:30 +0000 (12:14 +0000)]
Add missing copyright header.

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

15 years agoFix naming convention to be consistant. (cmd_ -> Command)
w00t [Mon, 15 Dec 2008 12:14:04 +0000 (12:14 +0000)]
Fix naming convention to be consistant. (cmd_ -> Command)

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

15 years agoAdd support for freetds 0.82 which is being shipped now with newer distros, and maint...
peavey [Mon, 15 Dec 2008 03:03:37 +0000 (03:03 +0000)]
Add support for freetds 0.82 which is being shipped now with newer distros, and maintain compatibility for 0.64 and up.

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

15 years agoOops
aquanight [Mon, 15 Dec 2008 01:14:34 +0000 (01:14 +0000)]
Oops

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

15 years agoMake it easier to add commands to the run script without having millions of bits...
aquanight [Mon, 15 Dec 2008 01:06:51 +0000 (01:06 +0000)]
Make it easier to add commands to the run script without having millions of bits of duplication.

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

15 years agoSome stuff removed from here that is no longer supported
brain [Sun, 14 Dec 2008 21:55:18 +0000 (21:55 +0000)]
Some stuff removed from here that is no longer supported

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

15 years agoAlso use freenode's 470 numeric in m_banredirect.
psychon [Sat, 13 Dec 2008 15:55:46 +0000 (15:55 +0000)]
Also use freenode's 470 numeric in m_banredirect.
(P.S.: This also fixes a bug from the last commit)

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

15 years agom_ssl_gnutls: Log ssl errors
psychon [Sat, 13 Dec 2008 15:49:04 +0000 (15:49 +0000)]
m_ssl_gnutls: Log ssl errors

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

15 years agoUse freenode's 470 numeric for redirection.
w00t [Sat, 13 Dec 2008 15:41:19 +0000 (15:41 +0000)]
Use freenode's 470 numeric for redirection.
Note that if redirection channel is +L, then a 470 with target channel '*' will be omitted to indicate you would be redirected, but cannot.

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

15 years agoFix problem with autoconnects: don't reset NextConnectTime to a higher value than...
w00t [Fri, 12 Dec 2008 21:10:34 +0000 (21:10 +0000)]
Fix problem with autoconnects: don't reset NextConnectTime to a higher value than it currently is, as that doesn't play very nice with multiple autoconnect values..

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

15 years agoFix typo.
peavey [Wed, 10 Dec 2008 02:55:33 +0000 (02:55 +0000)]
Fix typo.

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

15 years agoFix out of date docs, thanks owine.
w00t [Tue, 9 Dec 2008 23:15:18 +0000 (23:15 +0000)]
Fix out of date docs, thanks owine.

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

15 years agoIf we can't find file.conf, search for file.conf.txt when on windows.
w00t [Mon, 8 Dec 2008 15:02:08 +0000 (15:02 +0000)]
If we can't find file.conf, search for file.conf.txt when on windows.

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

15 years agoUse national charset pointer instead of RFC charset pointer. Should fix hash equivila...
w00t [Mon, 8 Dec 2008 13:54:37 +0000 (13:54 +0000)]
Use national charset pointer instead of RFC charset pointer. Should fix hash equivilancy checking, etc.
Try this, Phoenix.

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

15 years agoFix silly oversight discovered by tra26 (thanks!) where the core tries to handle...
brain [Mon, 8 Dec 2008 01:56:28 +0000 (01:56 +0000)]
Fix silly oversight discovered by tra26 (thanks!) where the core tries to handle hash providers other than plaintext by direct string comparison, allowing someone to oper up by specifying the md5 sum of an md5 password, etc!

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

15 years agoDisallow any messageflood parameter where x < 2 in +f x:y, prevents moronic behaviour...
brain [Sun, 7 Dec 2008 21:50:12 +0000 (21:50 +0000)]
Disallow any messageflood parameter where x < 2 in +f x:y, prevents moronic behaviour like #pokeworld are doing here on chatspike.

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

15 years agoPatch to allow bindings to all ips on an ipv4 only system where the build is ipv6...
brain [Sun, 7 Dec 2008 21:25:55 +0000 (21:25 +0000)]
Patch to allow bindings to all ips on an ipv4 only system where the build is ipv6 (e.g. how debian build it) -- thanks for the patch danieldg

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

15 years agoMake an error message more verbose to help users
brain [Sun, 7 Dec 2008 21:15:03 +0000 (21:15 +0000)]
Make an error message more verbose to help users

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

15 years agoFix glitch before release
brain [Sun, 7 Dec 2008 20:02:50 +0000 (20:02 +0000)]
Fix glitch before release

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

15 years agoGyr!
brain [Sun, 7 Dec 2008 19:51:50 +0000 (19:51 +0000)]
Gyr!

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

15 years agoUgly ugly craq in here in the cleanup stuff. Can be done nicer with a template, like...
brain [Sun, 7 Dec 2008 19:16:46 +0000 (19:16 +0000)]
Ugly ugly craq in here in the cleanup stuff. Can be done nicer with a template, like this

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

15 years agonational_case_sensitive_map -> national_case_insensitive_map.
w00t [Sun, 7 Dec 2008 19:01:43 +0000 (19:01 +0000)]
national_case_sensitive_map -> national_case_insensitive_map.

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

15 years agoThanks to Phoenix and MacGyver for their help on this.
w00t [Sun, 7 Dec 2008 18:32:14 +0000 (18:32 +0000)]
Thanks to Phoenix and MacGyver for their help on this.

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

15 years agoConvert necessary match calls to use ASCII casemap.
w00t [Sun, 7 Dec 2008 18:32:08 +0000 (18:32 +0000)]
Convert necessary match calls to use ASCII casemap.
1.2 may now be made casemap-aware via a module setting national_case_sensitive_map to their own table, and resetting to the RFC table on unload.

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

15 years agoMove stuff to use ASCII map where required.
w00t [Sun, 7 Dec 2008 18:31:57 +0000 (18:31 +0000)]
Move stuff to use ASCII map where required.
Also move this out of being a member totally, as it breaks (gah) and is already untidy.. to be revisited.

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

15 years agonational_case_sensitive_map must be static, thanks to the match stuff being static...
w00t [Sun, 7 Dec 2008 18:31:54 +0000 (18:31 +0000)]
national_case_sensitive_map must be static, thanks to the match stuff being static (this is a bit ugly, but necessary for now).
Default to national charset map instead of rfc map, as modules may change the pointer.

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

15 years agoAdd InspIRCd::national_case_sensitive_map pointer, defaults to rfc_case_insensitive_map.
w00t [Sun, 7 Dec 2008 18:31:48 +0000 (18:31 +0000)]
Add InspIRCd::national_case_sensitive_map pointer, defaults to rfc_case_insensitive_map.
Modules may override this pointer to customise casemapping of nick/channel names.

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

15 years agoSwitch some stuff to use ASCII mapping rather than RFC.
w00t [Sun, 7 Dec 2008 18:31:45 +0000 (18:31 +0000)]
Switch some stuff to use ASCII mapping rather than RFC.

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

15 years agoAdd ascii_case_insensitive_map, thanks MacGyver.
w00t [Sun, 7 Dec 2008 18:31:42 +0000 (18:31 +0000)]
Add ascii_case_insensitive_map, thanks MacGyver.

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

15 years agoRename case_sensitive_map to rfc_case_sensitive_map
w00t [Sun, 7 Dec 2008 01:11:48 +0000 (01:11 +0000)]
Rename case_sensitive_map to rfc_case_sensitive_map

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

15 years agoThis should help on osx. No gaurantees, as i dont have that OS.
brain [Sun, 7 Dec 2008 00:44:42 +0000 (00:44 +0000)]
This should help on osx. No gaurantees, as i dont have that OS.

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

15 years agoMake valdebug-unattended create the logging directory if necessary, and use sysopen...
aquanight [Fri, 5 Dec 2008 21:01:31 +0000 (21:01 +0000)]
Make valdebug-unattended create the logging directory if necessary, and use sysopen with mode to open the logfiles rather than umasking.

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

15 years agoMinor style cleanup to inspircd: Remove trailing spaces and use tabs for indent
psychon [Fri, 5 Dec 2008 14:33:07 +0000 (14:33 +0000)]
Minor style cleanup to inspircd: Remove trailing spaces and use tabs for indent

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

15 years agoinstall .gdbargs to $(BASE) in make install
brain [Thu, 4 Dec 2008 11:36:32 +0000 (11:36 +0000)]
install .gdbargs to $(BASE) in make install

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

15 years agoRemove flood/threshold from example config.
w00t [Mon, 1 Dec 2008 20:14:52 +0000 (20:14 +0000)]
Remove flood/threshold from example config.

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

15 years agoRip flood/threshold out of config classes also.
w00t [Mon, 1 Dec 2008 20:14:50 +0000 (20:14 +0000)]
Rip flood/threshold out of config classes also.

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

15 years agoRemove lines_in and reset_due flood protection mechanism, recvq/sendq on their own...
w00t [Mon, 1 Dec 2008 20:14:49 +0000 (20:14 +0000)]
Remove lines_in and reset_due flood protection mechanism, recvq/sendq on their own now fill this role, as we have proper penalties.
This tidies up *a lot* of code, and also saves a further sizeof(time_t) + sizeof(unsigned int) per user.

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

15 years agoRemove m_operflood, add privs: users/flood/no-throttle & users/flood/increased-buffers.
w00t [Mon, 1 Dec 2008 18:10:24 +0000 (18:10 +0000)]
Remove m_operflood, add privs: users/flood/no-throttle & users/flood/increased-buffers.
This also saves another sizeof(bool) per user.

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

15 years agoRemove OverPenalty, saves sizeof(bool) per user.
w00t [Mon, 1 Dec 2008 18:10:22 +0000 (18:10 +0000)]
Remove OverPenalty, saves sizeof(bool) per user.

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

15 years agoRemove unused variable (thanks to everyone who noticed it)
w00t [Sun, 30 Nov 2008 21:36:06 +0000 (21:36 +0000)]
Remove unused variable (thanks to everyone who noticed it)

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

15 years agoDon't append server name to kill reasons.
w00t [Thu, 27 Nov 2008 23:23:21 +0000 (23:23 +0000)]
Don't append server name to kill reasons.

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

15 years agoForward-port: Created commit fcadb0b: Change rm to force removal for configureclean...
w00t [Thu, 27 Nov 2008 14:17:41 +0000 (14:17 +0000)]
Forward-port: Created commit fcadb0b: Change rm to force removal for configureclean target, obsoletes debian patch.

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

15 years agoAdd OperPrefixMode::GetPrefixRank(), so +y is ranked above all other prefix modes.
w00t [Mon, 24 Nov 2008 14:24:41 +0000 (14:24 +0000)]
Add OperPrefixMode::GetPrefixRank(), so +y is ranked above all other prefix modes.

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

15 years agoAdd missing docs, thanks KT.
w00t [Mon, 24 Nov 2008 14:24:40 +0000 (14:24 +0000)]
Add missing docs, thanks KT.

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

15 years agoOff-by-one without a rehash event, causes cores on load
w00t [Mon, 24 Nov 2008 14:24:39 +0000 (14:24 +0000)]
Off-by-one without a rehash event, causes cores on load

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

15 years agoAdd m_operprefix, more simplified version of module written by Phoenix (thanks!)...
w00t [Mon, 24 Nov 2008 14:12:24 +0000 (14:12 +0000)]
Add m_operprefix, more simplified version of module written by Phoenix (thanks!). Adds cmode +y, set on-join which grants opers an optional prefix status on the channel.

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

15 years agoDon't check permission to +Q for remote users, probably fixes bug #619 reported by...
w00t [Mon, 24 Nov 2008 08:58:13 +0000 (08:58 +0000)]
Don't check permission to +Q for remote users, probably fixes bug #619 reported by yell0w.

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

15 years agoFix crashes in m_joinflood and m_nickflood, found by Schitz0, introduced by commit...
w00t [Mon, 24 Nov 2008 08:29:05 +0000 (08:29 +0000)]
Fix crashes in m_joinflood and m_nickflood, found by Schitz0, introduced by commit f123b4f0081360e96dad620e5a143f983c1f3a04 (time()) conversion - the settings classes had pointers that were *never* initialised...

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

15 years agoBraunvieh!
brain [Sun, 23 Nov 2008 20:45:57 +0000 (20:45 +0000)]
Braunvieh!

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

15 years agoUpdate solutions
brain [Sun, 23 Nov 2008 20:42:59 +0000 (20:42 +0000)]
Update solutions

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

15 years agoFix installer to work with the new name for the test confs
brain [Sun, 23 Nov 2008 20:42:10 +0000 (20:42 +0000)]
Fix installer to work with the new name for the test confs

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

15 years agostart upload in a seperate dos window
brain [Sat, 22 Nov 2008 23:48:44 +0000 (23:48 +0000)]
start upload in a seperate dos window

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

15 years agoI have managed to do this without giving away any hostnames or usernames, so this...
brain [Sat, 22 Nov 2008 23:46:04 +0000 (23:46 +0000)]
I have managed to do this without giving away any hostnames or usernames, so this is secure enough to be part of subversion. still wont release unless you have the correctly named winscp and putty profiles set to the right places, though

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

15 years agoAdd auto build step for site release. The actual batch file that does this wont be...
brain [Sat, 22 Nov 2008 22:09:11 +0000 (22:09 +0000)]
Add auto build step for site release. The actual batch file that does this wont be included in the build as it contains information relating to the webservers, users who want to do their own site release can roll their own batchfile.

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

15 years agoThread safety fixes to avoid crashes on rehash, dont reopen logs within the rehash...
brain [Sat, 22 Nov 2008 16:54:32 +0000 (16:54 +0000)]
Thread safety fixes to avoid crashes on rehash, dont reopen logs within the rehash thread. Put this in the safe part of the rehash operation, after the thread exits. Put a mutex around the part where the thread exits, just in case somehow there are two rehash threads exiting at the same time due to user
muppetry.

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

15 years agoFix for potential crash with invalid prefixes (prefixes which are neither valid SID...
brain [Thu, 20 Nov 2008 19:43:38 +0000 (19:43 +0000)]
Fix for potential crash with invalid prefixes (prefixes which are neither valid SID nor UID, but are a valid nickname, outdated protocol)

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

15 years agoFix recursion in QuitUser
w00t [Mon, 17 Nov 2008 19:45:38 +0000 (19:45 +0000)]
Fix recursion in QuitUser

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

15 years agoDon't burst expired X:, should help stop bounce wars..
w00t [Sun, 16 Nov 2008 15:50:42 +0000 (15:50 +0000)]
Don't burst expired X:, should help stop bounce wars..

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

15 years agoAdd alias for ALIS, closes bug #632.
w00t [Mon, 10 Nov 2008 13:08:43 +0000 (13:08 +0000)]
Add alias for ALIS, closes bug #632.

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

15 years agoAdd Phoenix to regular contributors list
w00t [Mon, 10 Nov 2008 11:59:43 +0000 (11:59 +0000)]
Add Phoenix to regular contributors list

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

15 years agoSome doc updates.
w00t [Mon, 10 Nov 2008 11:58:08 +0000 (11:58 +0000)]
Some doc updates.

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

15 years agoAdd a few modules to the example conf that were missing.
dz [Sun, 9 Nov 2008 21:37:32 +0000 (21:37 +0000)]
Add a few modules to the example conf that were missing.

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

15 years agoTweak the example conf a bit
dz [Sat, 8 Nov 2008 17:45:17 +0000 (17:45 +0000)]
Tweak the example conf a bit

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

15 years agoModule class was still called QuitBan, rename to ConnectBan for sanity
brain [Sat, 8 Nov 2008 17:21:46 +0000 (17:21 +0000)]
Module class was still called QuitBan, rename to ConnectBan for sanity

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

15 years agoFix a log source
brain [Sat, 8 Nov 2008 17:21:06 +0000 (17:21 +0000)]
Fix a log source

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