summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-08-23Fix for irc::sepstream for when there are multiple seperators in a row, do ↵brain
not drop the rest of the line, strip the seperators git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7798 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Switch around the two operations in MatchCIDRBits to make negative matches ↵brain
faster (and not change the speed of positive matches) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7797 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Bricker said so.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7795 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-21Whoops, found a bug in it anyway :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7791 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-21Implement feature in bug #395 reported by stealth, and tidy up a bitbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7789 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-21Fix for delete-when-we-shouldnt bug similar to what stskeeps found yesterdaybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7787 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20Add comments explaining why we have sockaddr[2] so that nobody goes ↵brain
'w...t..f...' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7779 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20Fix a bug i just introduced while playing with the codebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7777 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20The only possibility for the issue sts found is that a socket is deleted but ↵brain
also ends up in the socket cull list somehow. To ensure that the socket does not get deleted, remove the delete and replace with an explicit call to insert into the socket cull list. We were grappling with these issues in early 1.1 with the userrec cull list, too. NOTE for later 1.2's consider making CullList a base class which we can derive from to delete lists of other items than userrecs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7775 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20Add a pair of colons which should fix some KILL messages being dropped and ↵brain
fix some desyncs on nick collision git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7772 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20Fixes for m_nicklock desyncbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7770 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20Increase max time difference to 600 secsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7769 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20Whoops, i left a value out of the array, and gcc didnt warn!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7768 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20Whoops! trunk-only fix to config reader so it doesnt bomb out if you omit an ↵brain
optional tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7767 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20Fix for bug #393, needs QA and backportbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7765 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Add <hostchange:ports> to the m_hostchange module to implement feature in ↵brain
bug #363 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7762 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Add <connect:maxchans> as per feature bug #338 - combined with the last ↵brain
feature, this allows per-oper specific maxchans values, and even the same for non-opers! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7761 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Allow changing of an oper's host on oper up using <type:class> (give it a ↵brain
connect allow or deny line name) - implements bug #367 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7760 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Add <connect:inherit> and <connect:name>brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7758 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Add extra stuff to make it work (and compile)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7757 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Add 'A record' blacklist types. This will probably only go into 1.2, and ↵brain
needs some testing at some point. Can someone please provide a working example for the wiki page, as i don't know of any such blacklists to test against. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7754 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Allow support for multiple dns results per request. This is a significant ↵brain
change and should probably not be backported to stable. This will allow for a fix to feature request bug #384 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7753 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Add load warning, as suggested by Brickerbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7751 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Pick up a few error conditions we didnt before in the config reader, and ↵brain
also increment line number correctly when 'real' newline is found in a value git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7749 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Fix some /who oddities, fixes bug #383 amongst other issues. Nothing serious.brain
Ability to see users who share a common channel with you in /who *wildmask* now. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7746 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Added proper header handling, persistant connections, and working timeouts ↵special
to m_httpd git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7743 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Improved compatibility with the JSON-RPC specification; beware, major ↵special
overhauls are afoot. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7742 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Fixed a crash within the timeout for m_httpd socketsspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7740 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-18Added the <cloak:ipalways> and <cloak:lowercase> options. Patch by nenolodspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7737 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-17* Fixed bug in m_banredirect where removing a ban on a channel with maxbans ↵burlex
set would result in a "ban list full" message. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7735 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-16Fixed bug #390 (broken m_chanprotect noservices)special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7730 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15Removal of ifdefbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7728 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15This is now correct.brain
No win32 #ifdefs in the base class, being as IOCPEngine is only built on windows we can put the code here without the need for ifdef. The original check in socketengine_iocp was broken, copied burlex's fixed version into the child class git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7724 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15* include/caller.h will now compile correctly on Windows platforms.burlex
+ Implemented gettimeofday in win32 wrapper, link rtt's will now display in milliseconds. * SocketEngine::BoundsCheckFd will now handle Windows event handler cases correctly. (fixing writing to sockets not working) * Fixed VC71 project. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7723 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15Fix small typo found by danieldgbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7720 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15Changed m_messageflood to use PreMessage and PreNotice, because it may kick ↵special
the user git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7719 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-13Fix new millisec /map to compile on windows, by ifndef gettimeofday out ↵peavey
reverting back to seconds for latency. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7717 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-13More changes from patch. Don't throttle opers due to server load.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7716 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-13Commit some changes from third party patch. Thanks Avenger and HiroP. Patch ↵w00t
review is not finished, there may be more changes to come. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7715 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11Fix this so it works.brain
OBVIOUS WARNING FOR THE DUMB: Dont go overwriting .so files at random to test this, you WILL crash your ircd if you do this improprerly, this is a feature of the linux shared object loader. If you want to test this, try with: rm cmd_whatever.so && echo "TESTTEST" >cmd_whatever.so, do NOT just do the echo. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7713 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11Allow rehash to attempt to load missing (and new) lib/cmd_*.so files, to ↵brain
allow users to fix an emergency situation you can create by trying to reload a corrupt .so without needing a restart git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7712 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11Make the return codes correct, and allow for LoadCommand without a user pointerbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7710 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11Provide error output on failure to load a core command; to console on ↵brain
startup, and to user on /reload git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7708 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11Fix a typo so it compiles.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7702 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-10Fix possible sqllog crash (working blind here!) where it could attempt to ↵brain
delete a pointer without knowing if that pointer was valid. (NEVER EVER use operator[] to lookup a map value, always use ::find()) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7700 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-10Fix non-opers using who on themselves when set +iw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7698 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-09Make sure that dns sockets never block (thanks djGrrr)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7694 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-09Show <unknown> instead of an empty string on CAPAB failure, spotted by djGrrrw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7691 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-09Fix for bug #379 reported by stealth. Trigger watch signon/signoff on +Q and -Qbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7689 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-07Feature request from djGrr, allow changing of server to server ping frequencybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7686 e03df62e-2008-0410-955e-edbf42e46eb7