summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket2.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Correct typo•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8659 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-071-1/+1
* Forward port r8629: Fix for bug #458 - servers going missing on collision etc•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8630 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-041-1/+2
* Back out previous patch disabling ADDLINE processing. The problem is in the n...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8627 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-041-5/+11
* ADDLINE is broken, don't process it for now..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8626 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-041-4/+4
* Roadmap item "Fix jointhrottle to not try 'throttle' clients during a netmerg...•••requires an extra parameter to OnUserJoin, bool sync. usually false, but FJOIN code during burst sets it to true. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8552 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-091-1/+1
* Some more to fix still, modules probably wont load correctly atm•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8515 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-4/+8
* Implement DELLINE, allow both DELLINE and ADDLINE to take a server OR client ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8468 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-4/+27
* Tidy up, and make the identifer for a line type be std::string not char•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8459 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-3/+5
* Make it compilable :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8451 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-1/+1
* Add XLine::SetCreateTime that removes gline_set_creation_time and friends•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8449 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-1/+1
* Use XLineFactory in ADDLINE, so that it can deal with anything the rest of th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8444 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-40/+8
* Make it all compile.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8443 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-5/+5
* Spanningtree now compiles•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8435 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-8/+18
* PERL PIE FOR ALL: Rename a fuckload of XLineManager's methods•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8399 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-281-9/+9
* - Tear out a useless load of XLine clutters that did nothing much except conf...•••- Revert back to early 1.0 design of using a single list for line storage. We'll make this work more efficiently than 1.0 though of course. This simplifies the code for expiry, checking, etc. - Merge a bunch of sort callbacks into a single sort callback for class XLine. - Horribly break apply_lines() for the time being. .. and that's probably it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8398 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-281-18/+8
* InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which id...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8206 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-1/+1
* In the grand tradition of huge fucking commits:••• - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-41/+41
* Change the way origins are shown in snonotice, for djGrrr :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8181 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-141-3/+3
* 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
* 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
* * 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-021-2/+1
* 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-291-0/+17
* 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-281-3/+3
* 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-281-0/+29
* 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
* 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-281-1/+4
* 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
* Last raft of compile fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7967 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-2/+2
* 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-281-23/+23
* 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-281-6/+1
* 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
* 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 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-281-4/+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-281-5/+1
* 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-281-0/+6
* 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-271-1/+12
* Fix to use DuplicateID. This stops things segfaulting on duplicate SID introd...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7923 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-17/+9
* Well, this probably works. But it might not. :D.•••- If a server is introduced with an already-existing SID, kill it off the network. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7921 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-3/+37
* Move SID into TreeSocket constructor. w00t, search for "new TreeSocket" to se...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7920 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-6/+3
* Store id in TreeServer, use TreeServer::GetID() to get the id (NOTE: it is st...•••Server id sent on all outbound and inbound SERVER now. last parameter before desc. Min params for SERVER is now 5, not 4. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7918 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-9/+23
* Don't try do lookups by nickname any more, all s2s traffic should be using UI...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7907 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-27/+1
* Remove some old style compatibility checking for 1.0-alpha servers, this real...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7906 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-10/+0
* If SVSNICK fails, attempt to change to UID, before quitting as a last resort ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7901 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-2/+10
* Make this lookup by UUID ahead of nick also, so things work properly.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7865 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-1/+11
* Make the server to server parser look for UUID. Currently it will fall back a...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7864 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-4/+24
* This will royally fuck 1.2's linking right now, but..••• - Don't use NICK to introduce clients - DO use UID - On nick collide, change our client to their UID and let the other server do the same with theirs. The last point is currently the broken bit, see, we can't change a nick to something starting with a didget, because that breaks nick rules.. need to overcome this somehow. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7857 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-2/+2
* Fix to SVSJOIN: disallow invalid channel names. Needs backport.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7852 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-0/+3