]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
15 years agoThis should work, but not sure on these defines in poll socketengine
brain [Wed, 14 Jan 2009 18:54:07 +0000 (18:54 +0000)]
This should work, but not sure on these defines in poll socketengine

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

15 years agoRevert some of w00ts kqueue massacre from september, for some reason its not too...
brain [Wed, 14 Jan 2009 18:45:03 +0000 (18:45 +0000)]
Revert some of w00ts kqueue massacre from september, for some reason its not too stable, e.g. placing wantwrite sockets into oneshot wantread? :P
randomly uses 100% cpu with the newer code, seems kqueue doesnt quite like to work exactly the same as epoll and poll.

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

15 years agoFix incorrect classname in operinvex (not broken, just wrong code)
w00t [Sat, 10 Jan 2009 17:54:49 +0000 (17:54 +0000)]
Fix incorrect classname in operinvex (not broken, just wrong code)

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

15 years agoFix bug #665 reported by Ankit, m_services_account.so was denying its own mode change...
dz [Sat, 10 Jan 2009 17:20:34 +0000 (17:20 +0000)]
Fix bug #665 reported by Ankit, m_services_account.so was denying its own mode change on nick change.

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

15 years agoRemove channel::created as its unused and only serves to confuse (see last commit...
peavey [Fri, 9 Jan 2009 20:51:38 +0000 (20:51 +0000)]
Remove channel::created as its unused and only serves to confuse (see last commit to m_check). As a bonus saves memory usage :p

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

15 years agoChange /CHECK <#channel> to correctly report timestamp since it might have been TS...
peavey [Fri, 9 Jan 2009 20:37:03 +0000 (20:37 +0000)]
Change /CHECK <#channel> to correctly report timestamp since it might have been TS synced after creation.

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

15 years agoCorrectly match alias formats (was backwards) and avoid going on to other aliases...
dz [Fri, 9 Jan 2009 01:12:46 +0000 (01:12 +0000)]
Correctly match alias formats (was backwards) and avoid going on to other aliases if none match. Fixes bug #668 reported by Ankit, thanks.

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

15 years agoReadability: pointless construct of a std::string from another std::string for throwi...
brain [Wed, 7 Jan 2009 18:36:20 +0000 (18:36 +0000)]
Readability: pointless construct of a std::string from another std::string for throwing an exception

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

15 years agoFix an incorrect check leading to backwards functionality, closes bug #663 (hideoper...
w00t [Wed, 7 Jan 2009 10:15:40 +0000 (10:15 +0000)]
Fix an incorrect check leading to backwards functionality,  closes bug #663 (hideoper not working), reported by liato.

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

15 years agoFriendlify error message here too
brain [Sun, 4 Jan 2009 19:34:03 +0000 (19:34 +0000)]
Friendlify error message here too

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

15 years agoFixed behavior of KICK in m_auditorium, fixes bug #649 reported by Schiz0.
dz [Sun, 4 Jan 2009 03:52:20 +0000 (03:52 +0000)]
Fixed behavior of KICK in m_auditorium, fixes bug #649 reported by Schiz0.
Also replaced usage of Channel::WriteAllExcept() with WriteAllExceptSender()
as the former does not except the sender and requires an extra unused variable.

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

15 years agoThis is out of date, useless, and nobody updates it.
brain [Sun, 4 Jan 2009 03:35:49 +0000 (03:35 +0000)]
This is out of date, useless, and nobody updates it.

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

15 years agoFix for bug #652, reported by Ankit: blank reply from /userip with no target online...
w00t [Sat, 3 Jan 2009 17:27:55 +0000 (17:27 +0000)]
Fix for bug #652, reported by Ankit: blank reply from /userip with no target online. Thanks!

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

15 years agoRemove +o from users on deoper, plausible fix for bug #653 reported by Ankit. Let...
w00t [Sat, 3 Jan 2009 17:25:10 +0000 (17:25 +0000)]
Remove +o from users on deoper, plausible fix for bug #653 reported by Ankit. Let me know if it's still b0rked, please :)

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

15 years agoRemove extra 'i'.. oopsie :P
w00t [Sat, 3 Jan 2009 16:45:55 +0000 (16:45 +0000)]
Remove extra 'i'.. oopsie :P

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

15 years agoRemove silly comment from r10,000.. mostly just testing vim..
w00t [Sat, 3 Jan 2009 16:45:54 +0000 (16:45 +0000)]
Remove silly comment from r10,000.. mostly just testing vim..

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

15 years agoFix old typo.
peavey [Sat, 3 Jan 2009 06:16:13 +0000 (06:16 +0000)]
Fix old typo.

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

15 years ago...and make it not go querying modules that dont implement the right interface and...
brain [Fri, 2 Jan 2009 23:26:54 +0000 (23:26 +0000)]
...and make it not go querying modules that dont implement the right interface and cause it to crash :p

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

15 years agoIf a module is loaded after m_spanningtree that it needs, then it will now re-read...
brain [Fri, 2 Jan 2009 23:15:09 +0000 (23:15 +0000)]
If a module is loaded after m_spanningtree that it needs, then it will now re-read its configuration file. The code is also now in the right place to pick this up on rehash too not just on load.

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

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