aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Forward port r8021: fixes bug #408 reported and patched by SwitchGravatar w00t2007-09-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8022 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed IPv6 resolving on big-endian machines (bug #403). Patch by Stric.Gravatar special2007-09-051-9/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8019 e03df62e-2008-0410-955e-edbf42e46eb7
* * Fixed connection messages in ModuleSpanningTree::HandleConnect (reported ↵Gravatar burlex2007-09-041-3/+3
| | | | | | by HiroP) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8017 e03df62e-2008-0410-955e-edbf42e46eb7
* * Fixed some incorrect declarations in IOCPEngineGravatar burlex2007-09-047-35/+108
| | | | | | | | | | * Fixed the virtual socket wrapper functions in IOCPEngine {these should really be inlined on unix} * Fixed several compilation issues under Win32 * Fixed calls to close() which should've been changed to SE->Close() + Added a crashdump saving system to Win32 builds. Dumps are saved in the format of dump-<exename>-<year>-<month>-<day>-<hour>-<minute>-<second>.dmp in the working directory. Enabled by default, undefine ENABLE_CRASHDUMPS to disable. + Added m_operflood, this is a module I've had lying around for some time but some users may like it as it allows unreal-like behaviour without increasing flood limits for non-opers. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8015 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed an issue that could cause empty parameters in module commands to not ↵Gravatar special2007-09-022-4/+7
| | | | | | be sent to other servers properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8012 e03df62e-2008-0410-955e-edbf42e46eb7
* Completely rewrote m_ident; the old one was written long ago and had a ↵Gravatar special2007-09-021-256/+151
| | | | | | history of being very buggy (and still had quite a few bugs) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8009 e03df62e-2008-0410-955e-edbf42e46eb7
* Unbreak the compile.Gravatar w00t2007-08-311-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8008 e03df62e-2008-0410-955e-edbf42e46eb7
* This may not compile, I'll test it on my desktop. Waiting 20 minutes for a ↵Gravatar w00t2007-08-312-10/+21
| | | | | | | | | | | | build is unacceptable. - Move UUID initialisation to InspIRCd::InitialiseUID() - Call it if we run out of existing UUIDs - Call it on startup Just a small cleanup. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8007 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed a double free in m_ident. Found by AnMasterGravatar special2007-08-311-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8005 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed a bug introduced in r7827 (does not affect 1.1.12) that would cause an ↵Gravatar special2007-08-311-0/+11
| | | | | | infinite loop for some spanningtree link errors. Found by danieldg git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8003 e03df62e-2008-0410-955e-edbf42e46eb7
* I lose for being slow. also tidyup a bit, still needs to fix that sizeof..Gravatar peavey2007-08-291-16/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8001 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a pointless WriteOpersGravatar brain2007-08-291-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7998 e03df62e-2008-0410-955e-edbf42e46eb7
* Add name.Gravatar peavey2007-08-291-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7995 e03df62e-2008-0410-955e-edbf42e46eb7
* Add duplicate UID error in ParseUID(), seems pippijn was triggering it and ↵Gravatar brain2007-08-291-3/+2
| | | | | | it was falling through the empty catch into _new = NULL :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7994 e03df62e-2008-0410-955e-edbf42e46eb7
* Make IsSID completely strict: Must be [digit][A-Zdigit][A-Zdigit], nothing else.Gravatar brain2007-08-292-2/+21
| | | | | | | Use it to sanity check SID given on link git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7993 e03df62e-2008-0410-955e-edbf42e46eb7
* This needs to be sent in burst tooGravatar brain2007-08-291-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7992 e03df62e-2008-0410-955e-edbf42e46eb7
* Some modules forgotten for conversion to ModuleManagerGravatar brain2007-08-292-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7991 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to compile with new module apiGravatar peavey2007-08-291-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7990 e03df62e-2008-0410-955e-edbf42e46eb7
* We really should SEND it too, if we're looking for it... :pGravatar brain2007-08-291-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7989 e03df62e-2008-0410-955e-edbf42e46eb7
* IMPORTANT: UID command now takes TEN parameters in 1.2. We never had a ↵Gravatar brain2007-08-291-4/+6
| | | | | | | | | signon time seperate from the TS in the UID command (or 1.1's NICK command) because in 1.1 this timestamp never updated and was therefore useful for both values. This is no longer the case and we must pass both seperately git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7988 e03df62e-2008-0410-955e-edbf42e46eb7
* Swap around ERROR and SNONOTICE in SendError() so that the server doesnt try ↵Gravatar brain2007-08-291-1/+1
| | | | | | and send SNONOTICE to a connection that just closed on it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7987 e03df62e-2008-0410-955e-edbf42e46eb7
* A few more minor cleanupsGravatar om2007-08-291-163/+161
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7986 e03df62e-2008-0410-955e-edbf42e46eb7
* Move everything module-related out of InspIRCd and into ModuleManager, there ↵Gravatar om2007-08-2838-270/+278
| | | | | | | | is a ModuleManager instantiated as InspIRCd::Modules. Several of the function names have changed slightly as well. e.g. Instance->FindModule(m_foobar.so); is now Instance->Modules->Find(m_foobar.so); All modules in the core distribution should also be updated in line with these changes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7985 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidy up here, same tidyup cannot go back to stable as it involves uidsGravatar brain2007-08-281-15/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7984 e03df62e-2008-0410-955e-edbf42e46eb7
* Add SVSPART at request of the Anope team - You can tell if the server has ↵Gravatar brain2007-08-283-1/+34
| | | | | | | | | SVSPART by the presence of SVSPART=1 in the CAPAB. No, we will NOT be enforcing this network-wide, its a server-origin command so it wont cause disconnects if it doesnt exist somewhere. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7982 e03df62e-2008-0410-955e-edbf42e46eb7
* If we see a NICK message without a timestamp on it, squit the serverGravatar brain2007-08-281-1/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7980 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unneeded debug from previous testsGravatar brain2007-08-281-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7979 e03df62e-2008-0410-955e-edbf42e46eb7
* If the user's nick is just a case change, the TS is NOT updated (thanks jilles)Gravatar brain2007-08-281-1/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7978 e03df62e-2008-0410-955e-edbf42e46eb7
* Note: NICK now takes two params, a nickname and a timestamp of the change.Gravatar brain2007-08-282-1/+6
| | | | | | | When a nick change occurs this must update the users timestamp, so that the users nick is marked to a newer TS. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7977 e03df62e-2008-0410-955e-edbf42e46eb7
* When a server sends a SERVER command with <5 params, dont just close the ↵Gravatar brain2007-08-281-0/+11
| | | | | | connection without error. Give the error "Protocol violation -- Missing SID" git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7974 e03df62e-2008-0410-955e-edbf42e46eb7
* DELETE() -> deleteGravatar w00t2007-08-2814-40/+39
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7973 e03df62e-2008-0410-955e-edbf42e46eb7
* (Om, this commit is safe): remove references to DELETE() macro, revert back ↵Gravatar w00t2007-08-282-12/+22
| | | | | | to delete. Nobody used this most of the time, it had no real purpose, etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7972 e03df62e-2008-0410-955e-edbf42e46eb7
* First step on the road of module loader rewriting. So far this only really ↵Gravatar om2007-08-282-37/+32
| | | | | | removes module factories. Any modules not updated to use MODULE_INIT() yet will now fail to compile \o/ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7971 e03df62e-2008-0410-955e-edbf42e46eb7
* Use MODULE_INIT here tooGravatar w00t2007-08-281-22/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7970 e03df62e-2008-0410-955e-edbf42e46eb7
* No idea why this wasn't using MODULE_INIT. Thanks Om.Gravatar w00t2007-08-281-22/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7969 e03df62e-2008-0410-955e-edbf42e46eb7
* Damn strict typing to hellGravatar w00t2007-08-281-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7968 e03df62e-2008-0410-955e-edbf42e46eb7
* Last raft of compile fixesGravatar brain2007-08-282-4/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7967 e03df62e-2008-0410-955e-edbf42e46eb7
* Oops. We were missing a param on this SVSNICK for remote TS.. that probably ↵Gravatar w00t2007-08-281-1/+1
| | | | | | was blasting client TS on nick collision, which isn't good git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7966 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes 2Gravatar brain2007-08-281-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7965 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes 1Gravatar brain2007-08-282-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7964 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert yet more to ServerConfig::GetSID() - this is the last of the obvious ↵Gravatar brain2007-08-283-26/+25
| | | | | | stuff. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7963 e03df62e-2008-0410-955e-edbf42e46eb7
* First round of servername->sid stuffsGravatar brain2007-08-283-50/+57
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7961 e03df62e-2008-0410-955e-edbf42e46eb7
* Use it here, tooGravatar brain2007-08-281-7/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7960 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidy up duplicate code, provide GetSID() method on ServerConfig which ↵Gravatar brain2007-08-283-14/+11
| | | | | | returns the SID always 3 digits long git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7959 e03df62e-2008-0410-955e-edbf42e46eb7
* Rice it up, biatchGravatar w00t2007-08-281-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7958 e03df62e-2008-0410-955e-edbf42e46eb7
* Change issid to IsSID to appease our anal retentiveness^H^H^H^H^H^H... i ↵Gravatar brain2007-08-282-3/+3
| | | | | | mean err, match the coding standards git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7957 e03df62e-2008-0410-955e-edbf42e46eb7
* Add SpanningTreeUtils::issid(). See top of utils.cppGravatar brain2007-08-282-0/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7956 e03df62e-2008-0410-955e-edbf42e46eb7
* Drop nick from incoming client on change collision if incoming client ↵Gravatar w00t2007-08-281-2/+14
| | | | | | 'loses' the change, and document why we do this git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7955 e03df62e-2008-0410-955e-edbf42e46eb7
* Oops: This 'remote' needs to be local, otherwise our return value can be ↵Gravatar w00t2007-08-281-1/+1
| | | | | | incorrect in some cases. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7954 e03df62e-2008-0410-955e-edbf42e46eb7
* From RFC 2812, the funny = that i could never identify in NAMES reply: = ↵Gravatar brain2007-08-284-7/+7
| | | | | | | | | means public, @ means secret and * means private. Fixed in affected modules to display the proper character (will backport) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7952 e03df62e-2008-0410-955e-edbf42e46eb7