summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
AgeCommit message (Collapse)Author
2007-10-17Remove debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8221 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-17UID translator broken with space or comma seperated lists (thanks danieldg)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8220 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which ↵w00t
ident etc will use. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8206 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15InspTimer -> Timerw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8205 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15In the grand tradition of huge fucking commits:w00t
- chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15class command_t -> class Command. Whey :Dw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14Fix indentationbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8188 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14Split up spanningtree some more, the filenames should be more intuitive so ↵brain
that developers know where to find stuff (more of this is coming soon) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8187 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14Change the way origins are shown in snonotice, for djGrrr :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8181 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-13Fix uninitialized var that may stop the ping warning from appearing, thanks ↵brain
djGrrr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8162 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-09Change 'unrecognised command BLAH' to 'unrecognised or malformed command ↵brain
BLAH' just to make it obvious to lazy people. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8140 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-09sanity check for existing server in DoFailOver seems to have vanished!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8138 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-03Cut out redundant loop from nickname introductions, also ensure that each ↵brain
UID message is immediately followed by any metadata related to that nickname git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8116 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-30Users were also being attached to the wrong server names (by uid and not by ↵brain
server name) meaning that users werent being quit on squit. this was hampering my efforts to find an unrelated bug git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8103 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-30Whoops, forgot some stuff for when GECOS was moved to position 10 in the UID ↵brain
command, this was broken git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8102 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-30Minor change, param for local PING wasnt an SID and should bebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8101 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-27Forgot part of the fix for bug #404special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8086 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-25Fix for bug #415, affects only trunk (wish i'd known this before i started!)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8079 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-23More compile fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8057 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-04* Fixed connection messages in ModuleSpanningTree::HandleConnect (reported ↵burlex
by HiroP) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8017 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-04* Fixed some incorrect declarations in IOCPEngineburlex
* 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
2007-09-02Fixed an issue that could cause empty parameters in module commands to not ↵special
be sent to other servers properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8012 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-31Fixed a bug introduced in r7827 (does not affect 1.1.12) that would cause an ↵special
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
2007-08-29Add duplicate UID error in ParseUID(), seems pippijn was triggering it and ↵brain
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
2007-08-29Make IsSID completely strict: Must be [digit][A-Zdigit][A-Zdigit], nothing else.brain
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
2007-08-29This needs to be sent in burst toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7992 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-29We really should SEND it too, if we're looking for it... :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7989 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-29IMPORTANT: UID command now takes TEN parameters in 1.2. We never had a ↵brain
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
2007-08-29Swap around ERROR and SNONOTICE in SendError() so that the server doesnt try ↵brain
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
2007-08-28Move everything module-related out of InspIRCd and into ModuleManager, there ↵om
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
2007-08-28Tidy up here, same tidyup cannot go back to stable as it involves uidsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7984 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Add SVSPART at request of the Anope team - You can tell if the server has ↵brain
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
2007-08-28If we see a NICK message without a timestamp on it, squit the serverbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7980 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28If the user's nick is just a case change, the TS is NOT updated (thanks jilles)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7978 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Note: NICK now takes two params, a nickname and a timestamp of the change.brain
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
2007-08-28When a server sends a SERVER command with <5 params, dont just close the ↵brain
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
2007-08-28Damn strict typing to hellw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7968 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Last raft of compile fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7967 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Oops. We were missing a param on this SVSNICK for remote TS.. that probably ↵w00t
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
2007-08-28Fixes 2brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7965 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Fixes 1brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7964 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Convert yet more to ServerConfig::GetSID() - this is the last of the obvious ↵brain
stuff. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7963 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28First round of servername->sid stuffsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7961 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Use it here, toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7960 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Tidy up duplicate code, provide GetSID() method on ServerConfig which ↵brain
returns the SID always 3 digits long git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7959 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Rice it up, biatchw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7958 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Change issid to IsSID to appease our anal retentiveness^H^H^H^H^H^H... i ↵brain
mean err, match the coding standards git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7957 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Add SpanningTreeUtils::issid(). See top of utils.cppbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7956 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Drop nick from incoming client on change collision if incoming client ↵w00t
'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
2007-08-28Oops: This 'remote' needs to be local, otherwise our return value can be ↵w00t
incorrect in some cases. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7954 e03df62e-2008-0410-955e-edbf42e46eb7