aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree
Commit message (Expand)AuthorAgeFilesLines
* Change 'unrecognised command BLAH' to 'unrecognised or malformed command BLAH...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8140 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-091-1/+1
* sanity check for existing server in DoFailOver seems to have vanished!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8138 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-091-2/+10
* Cut out redundant loop from nickname introductions, also ensure that each UID...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8116 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-031-10/+7
* Users were also being attached to the wrong server names (by uid and not by s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8103 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-09-301-1/+1
* Whoops, forgot some stuff for when GECOS was moved to position 10 in the UID ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8102 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-09-301-2/+2
* Minor change, param for local PING wasnt an SID and should be•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8101 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-09-301-1/+1
* Forgot part of the fix for bug #404•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8086 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2007-09-271-1/+2
* Fix for bug #415, affects only trunk (wish i'd known this before i started!)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8079 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-09-251-1/+1
* More compile fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8057 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-09-231-1/+1
* * Fixed connection messages in ModuleSpanningTree::HandleConnect (reported by...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8017 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-09-041-3/+3
* * Fixed some incorrect declarations in IOCPEngine•••* 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 Gravatar burlex2007-09-041-1/+1
* Fixed an issue that could cause empty parameters in module commands to not be...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8012 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2007-09-022-4/+7
* Fixed a bug introduced in r7827 (does not affect 1.1.12) that would cause an ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8003 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2007-08-311-0/+11
* Add duplicate UID error in ParseUID(), seems pippijn was triggering it and it...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7994 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-291-3/+2
* Make IsSID completely strict: Must be [digit][A-Zdigit][A-Zdigit], nothing else.•••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 Gravatar brain2007-08-292-2/+21
* This needs to be sent in burst too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7992 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-291-3/+4
* We really should SEND it too, if we're looking for it... :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7989 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-291-3/+2
* IMPORTANT: UID command now takes TEN parameters in 1.2. We never had a signon...•••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 Gravatar brain2007-08-291-4/+6
* Swap around ERROR and SNONOTICE in SendError() so that the server doesnt try ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7987 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-291-1/+1
* Move everything module-related out of InspIRCd and into ModuleManager, there ...•••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 Gravatar om2007-08-284-14/+11
* Tidy up here, same tidyup cannot go back to stable as it involves uids•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7984 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-15/+5
* Add SVSPART at request of the Anope team - You can tell if the server has SVS...•••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 Gravatar brain2007-08-283-1/+34
* If we see a NICK message without a timestamp on it, squit the server•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7980 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-1/+6
* If the user's nick is just a case change, the TS is NOT updated (thanks jilles)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7978 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-1/+6
* Note: NICK now takes two params, a nickname and a timestamp of the change.•••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 Gravatar brain2007-08-282-1/+6
* When a server sends a SERVER command with <5 params, dont just close the conn...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7974 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-0/+11
* Damn strict typing to hell•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7968 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-1/+1
* Last raft of compile fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7967 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-282-4/+2
* Oops. We were missing a param on this SVSNICK for remote TS.. that probably w...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7966 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-1/+1
* Fixes 2•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7965 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-4/+4
* Fixes 1•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7964 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-1/+1
* Convert yet more to ServerConfig::GetSID() - this is the last of the obvious ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7963 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-283-26/+25
* First round of servername->sid stuffs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7961 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-283-50/+57
* Use it here, too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7960 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-7/+1
* Tidy up duplicate code, provide GetSID() method on ServerConfig which returns...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7959 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-282-14/+3
* Rice it up, biatch•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7958 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-2/+2
* Change issid to IsSID to appease our anal retentiveness^H^H^H^H^H^H... i mean...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7957 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-282-3/+3
* Add SpanningTreeUtils::issid(). See top of utils.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7956 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-282-0/+16
* Drop nick from incoming client on change collision if incoming client 'loses'...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7955 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-2/+14
* Oops: This 'remote' needs to be local, otherwise our return value can be inco...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7954 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-1/+1
* bool SamePerson = strcmp(localident, remoteident) && !strcmp(localip, remoteip);•••change to: bool SamePerson = !strcmp(localident, remoteident) && !strcmp(localip, remoteip); git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7951 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-1/+1
* Long-standing bug: userrec::age should be set on remote introduction. This do...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7950 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-0/+1
* Hmm. We shouldn't use FindNick here, as that will find on UID, which while it...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7949 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-1/+1
* Slight change to traffic logging, as I never remember which way the damn arro...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7948 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-2/+2
* Remove more unused headers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7946 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-284-13/+0
* Remove unneeded headers from spanningtree. This was done to the rest of the s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7945 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-2810-40/+0
* Remove the last uses of localised fake clients. This removes a lot of allocat...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7943 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-282-17/+4
* Handle nick change collision through the same rules nick introduction collisi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7937 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-282-1/+18
* Move nickname collision logic into TreeSocket::DoCollision so that nickname c...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7936 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-282-67/+99
* Fix potential for duplicate SID if the SID is auto generated.•••Auto generated SIDs are initialized too late after modules are loaded rather than before. Fixed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7924 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-272-1/+15