aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Proper fix for end-of-list numerics on restricted lists in bug #386, rather ↵Gravatar brain2007-08-262-0/+10
| | | | | | than a hackish nonmodular one. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7838 e03df62e-2008-0410-955e-edbf42e46eb7
* Add option to set invite announcements to nobody, ops only, or all users, ↵Gravatar brain2007-08-262-3/+28
| | | | | | based on options:announceinvites. Part of bug #386, should not be backported. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7837 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #376 - FEATURE - (sorry w00t) - not backporting to stable.Gravatar brain2007-08-261-1/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7835 e03df62e-2008-0410-955e-edbf42e46eb7
* Add m_commonchans.so (documented in example conf, no wiki yet) resolves bug ↵Gravatar brain2007-08-261-0/+102
| | | | | | #342 feature request by Casey git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7832 e03df62e-2008-0410-955e-edbf42e46eb7
* Revised fix for bug #367 pointed out during qa by owine, thanks :)Gravatar brain2007-08-261-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7830 e03df62e-2008-0410-955e-edbf42e46eb7
* Document ModuleSpanningTree::RemoteMessage. Maybe useful for other stuff.Gravatar brain2007-08-261-1/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7828 e03df62e-2008-0410-955e-edbf42e46eb7
* Routing failure messages back where they came from on /rconnectGravatar brain2007-08-266-27/+64
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7826 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement bug #396, feature request from BrickerGravatar brain2007-08-251-35/+46
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7824 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #397Gravatar brain2007-08-251-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7821 e03df62e-2008-0410-955e-edbf42e46eb7
* Someone really should fix the blocking connects on windows craq...Gravatar brain2007-08-231-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7813 e03df62e-2008-0410-955e-edbf42e46eb7
* Move the close() wrapper out of the win32wrapper.h, and into its new proper ↵Gravatar brain2007-08-231-0/+9
| | | | | | place at SocketEngine::Close() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7812 e03df62e-2008-0410-955e-edbf42e46eb7
* Craquity craq De-craq!Gravatar brain2007-08-2312-132/+208
| | | | | | | | | | This is probably broken on windows, do not attempt to use there yet unless you like broken stuff. Cant say for sure as i havent even tried to build yet and most likely wont tonight. --- Abstract most of the berkely socket API out into SocketEngine derived classes. SocketEngine base class implements standard berkely sockets that 'real mens systems' like linux and freebsd have. For socketengine_iocp we implement the windows specific nonesense like the special things needed for udp and accept (ick). All this to eliminate a bunch of ifdefs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7810 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyup some duplicated codeGravatar brain2007-08-231-11/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7808 e03df62e-2008-0410-955e-edbf42e46eb7
* Move WSACleanup() into IOCPEngine destructor, eliminating an "#ifdef WIN32" ↵Gravatar brain2007-08-232-5/+2
| | | | | | from inspircd.cpp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7807 e03df62e-2008-0410-955e-edbf42e46eb7
* Raft of fixes so that inspircd can call Cleanup() and Exit() in less ↵Gravatar brain2007-08-234-20/+35
| | | | | | | | | 'stable' circumstances, e.g. when half initialized, and it wont segfault. Also fix OpenLog to not always exit on error, but to return a bool instead, which is much more friendly on rehash (you don't want /REHASH dieing your server if you cant write the log!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7804 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix segfault on 'cant open logfile' on startup, on trying to call Exit. ↵Gravatar brain2007-08-231-1/+1
| | | | | | instead just call plain exit() as we're screwed and cant log any unload messages. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7802 e03df62e-2008-0410-955e-edbf42e46eb7
* Add some stuff to change how we process a token sepeperated streamGravatar brain2007-08-2310-43/+46
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7800 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for irc::sepstream for when there are multiple seperators in a row, do ↵Gravatar brain2007-08-231-0/+5
| | | | | | 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
* Switch around the two operations in MatchCIDRBits to make negative matches ↵Gravatar brain2007-08-231-7/+7
| | | | | | 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
* Bricker said so.Gravatar brain2007-08-231-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7795 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, found a bug in it anyway :pGravatar brain2007-08-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7791 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement feature in bug #395 reported by stealth, and tidy up a bitGravatar brain2007-08-211-4/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7789 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for delete-when-we-shouldnt bug similar to what stskeeps found yesterdayGravatar brain2007-08-211-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7787 e03df62e-2008-0410-955e-edbf42e46eb7
* Add comments explaining why we have sockaddr[2] so that nobody goes ↵Gravatar brain2007-08-201-0/+3
| | | | | | 'w...t..f...' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7779 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a bug i just introduced while playing with the codeGravatar brain2007-08-201-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7777 e03df62e-2008-0410-955e-edbf42e46eb7
* The only possibility for the issue sts found is that a socket is deleted but ↵Gravatar brain2007-08-204-5/+6
| | | | | | | | | | | 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
* Add a pair of colons which should fix some KILL messages being dropped and ↵Gravatar brain2007-08-201-2/+2
| | | | | | fix some desyncs on nick collision git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7772 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for m_nicklock desyncGravatar brain2007-08-201-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7770 e03df62e-2008-0410-955e-edbf42e46eb7
* Increase max time difference to 600 secsGravatar brain2007-08-201-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7769 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, i left a value out of the array, and gcc didnt warn!Gravatar brain2007-08-201-6/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7768 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops! trunk-only fix to config reader so it doesnt bomb out if you omit an ↵Gravatar brain2007-08-201-1/+6
| | | | | | optional tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7767 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #393, needs QA and backportGravatar brain2007-08-201-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7765 e03df62e-2008-0410-955e-edbf42e46eb7
* Add <hostchange:ports> to the m_hostchange module to implement feature in ↵Gravatar brain2007-08-191-3/+21
| | | | | | bug #363 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7762 e03df62e-2008-0410-955e-edbf42e46eb7
* Add <connect:maxchans> as per feature bug #338 - combined with the last ↵Gravatar brain2007-08-193-10/+26
| | | | | | 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
* Allow changing of an oper's host on oper up using <type:class> (give it a ↵Gravatar brain2007-08-193-13/+28
| | | | | | 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
* Add <connect:inherit> and <connect:name>Gravatar brain2007-08-191-2/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7758 e03df62e-2008-0410-955e-edbf42e46eb7
* Add extra stuff to make it work (and compile)Gravatar brain2007-08-191-6/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7757 e03df62e-2008-0410-955e-edbf42e46eb7
* Add 'A record' blacklist types. This will probably only go into 1.2, and ↵Gravatar brain2007-08-191-11/+42
| | | | | | | | | 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
* Allow support for multiple dns results per request. This is a significant ↵Gravatar brain2007-08-198-52/+81
| | | | | | | | | 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
* Add load warning, as suggested by BrickerGravatar brain2007-08-191-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7751 e03df62e-2008-0410-955e-edbf42e46eb7
* Pick up a few error conditions we didnt before in the config reader, and ↵Gravatar brain2007-08-191-24/+30
| | | | | | 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
* Fix some /who oddities, fixes bug #383 amongst other issues. Nothing serious.Gravatar brain2007-08-191-15/+37
| | | | | | | 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
* Added proper header handling, persistant connections, and working timeouts ↵Gravatar special2007-08-194-136/+291
| | | | | | to m_httpd git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7743 e03df62e-2008-0410-955e-edbf42e46eb7
* Improved compatibility with the JSON-RPC specification; beware, major ↵Gravatar special2007-08-191-3/+9
| | | | | | overhauls are afoot. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7742 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed a crash within the timeout for m_httpd socketsGravatar special2007-08-191-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7740 e03df62e-2008-0410-955e-edbf42e46eb7
* Added the <cloak:ipalways> and <cloak:lowercase> options. Patch by nenolodGravatar special2007-08-181-36/+68
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7737 e03df62e-2008-0410-955e-edbf42e46eb7
* * Fixed bug in m_banredirect where removing a ban on a channel with maxbans ↵Gravatar burlex2007-08-171-1/+1
| | | | | | 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
* Fixed bug #390 (broken m_chanprotect noservices)Gravatar special2007-08-161-17/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7730 e03df62e-2008-0410-955e-edbf42e46eb7
* Removal of ifdefGravatar brain2007-08-151-9/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7728 e03df62e-2008-0410-955e-edbf42e46eb7
* This is now correct.Gravatar brain2007-08-152-20/+7
| | | | | | | | 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