summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix crashes, and in the process make xline even faster!Gravatar brain2006-09-191-16/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5304 e03df62e-2008-0410-955e-edbf42e46eb7
* Add const std::string &original_command to OnPreCommand and OnPostCommand, ↵Gravatar brain2006-09-171-3/+4
| | | | | | which gives the entire untouched command string and params in all its colon-ny glory git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5265 e03df62e-2008-0410-955e-edbf42e46eb7
* Comment tidyup and change format so doxygen can detect themGravatar brain2006-09-151-39/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5252 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix some stuff, avoid use of global ServerInstance varGravatar brain2006-09-151-63/+61
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5250 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a comment for readabilityGravatar brain2006-09-131-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5231 e03df62e-2008-0410-955e-edbf42e46eb7
* Try this, jamieGravatar brain2006-09-131-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5229 e03df62e-2008-0410-955e-edbf42e46eb7
* Add debug to m_spanningtree, verifies that inspircd works correctly on FMODE ↵Gravatar brain2006-09-131-1/+2
| | | | | | (after patches are applied) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5227 e03df62e-2008-0410-955e-edbf42e46eb7
* Forgot to returnGravatar brain2006-09-061-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5152 e03df62e-2008-0410-955e-edbf42e46eb7
* Finish off the fix for bug #136 (a biggie for such a simple thing)Gravatar brain2006-09-061-6/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5151 e03df62e-2008-0410-955e-edbf42e46eb7
* Command result codes. This isnt finished yet, still got to do most of the ↵Gravatar brain2006-09-061-1/+5
| | | | | | modules, and alter CallCommandHandler git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5149 e03df62e-2008-0410-955e-edbf42e46eb7
* JOIN now has a TS parameter on it. The client protocol will ignore this when ↵Gravatar brain2006-09-061-2/+9
| | | | | | we pass it down to the command parser, it is for use if theres a minor desync and we send a PART for the last user at the same time the other side sends a JOIN for a new user, we can at least keep the TS in step. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5148 e03df62e-2008-0410-955e-edbf42e46eb7
* Drop and log unknown nicks in FJOIN, rather than aborting the linkGravatar brain2006-09-061-25/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5147 e03df62e-2008-0410-955e-edbf42e46eb7
* New CAPAB variable (manditory): PROTOCOLGravatar brain2006-09-051-1/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5145 e03df62e-2008-0410-955e-edbf42e46eb7
* This is a complex one: when autoconnecting, we check each links failover, ↵Gravatar brain2006-09-051-0/+12
| | | | | | and try and FindServer it. If we find that link's failover in the network, we dont try and autoconnect it as it probably established a link to that via another route anyway. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5144 e03df62e-2008-0410-955e-edbf42e46eb7
* 'Connection to %s closed' now says 'Connection to %s failed'Gravatar brain2006-09-041-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5143 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for failover pointing at self. This is an obvious thing to check for ↵Gravatar brain2006-09-041-0/+5
| | | | | | and prevent :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5142 e03df62e-2008-0410-955e-edbf42e46eb7
* failover connections are now added, thanks for the idea Lauren (happy now? ↵Gravatar brain2006-09-041-66/+97
| | | | | | lol) :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5141 e03df62e-2008-0410-955e-edbf42e46eb7
* Only VF_COMMON modules are sent in CAPAB now, not VF_STATICGravatar brain2006-09-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5115 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #134 reported by mixx941: When user connects to ircd with no ↵Gravatar brain2006-08-311-1/+3
| | | | | | usermodes set on themselves, an m_spanningtree std::string throws a range exception because we try and substr npos. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5091 e03df62e-2008-0410-955e-edbf42e46eb7
* Forwardport fix from stable (bug#133 reported by insurgent): configuring a ↵Gravatar brain2006-08-311-35/+42
| | | | | | link block with the same name as the local server (?!) then linking to it causes segfault git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5090 e03df62e-2008-0410-955e-edbf42e46eb7
* Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include listsGravatar brain2006-08-301-11/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 e03df62e-2008-0410-955e-edbf42e46eb7
* Snomask +l (linking) and some +x (XLINE)Gravatar brain2006-08-291-37/+37
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5067 e03df62e-2008-0410-955e-edbf42e46eb7
* +Q and +C (remote quit and connect) snomasks implementedGravatar brain2006-08-291-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5066 e03df62e-2008-0410-955e-edbf42e46eb7
* Spanningtree tidyupsGravatar brain2006-08-291-0/+2
| | | | | | | Start of SnomaskManager class git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5061 e03df62e-2008-0410-955e-edbf42e46eb7
* Hey, what the hell. Let's do remote ADMIN too. :)Gravatar w00t2006-08-281-3/+72
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5059 e03df62e-2008-0410-955e-edbf42e46eb7
* ^*&^^)()%-Gravatar w00t2006-08-281-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5058 e03df62e-2008-0410-955e-edbf42e46eb7
* Remote MOTD supportGravatar w00t2006-08-281-0/+82
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5057 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for muppet 3rdparty apps that might not order the list correctlyGravatar brain2006-08-281-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5048 e03df62e-2008-0410-955e-edbf42e46eb7
* Error scemantics - 'this' server, 'your' serverGravatar brain2006-08-281-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5047 e03df62e-2008-0410-955e-edbf42e46eb7
* Module list diffingGravatar brain2006-08-281-1/+44
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5046 e03df62e-2008-0410-955e-edbf42e46eb7
* Capab matching on important keys, and module listsGravatar brain2006-08-281-15/+124
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5045 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix ping timeouts to properly close and free the socket, same with /SQUITGravatar brain2006-08-281-3/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5044 e03df62e-2008-0410-955e-edbf42e46eb7
* gcc whinges.Gravatar brain2006-08-281-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5043 e03df62e-2008-0410-955e-edbf42e46eb7
* Add DelFd calls when squitting a server or pinging it outGravatar brain2006-08-281-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5042 e03df62e-2008-0410-955e-edbf42e46eb7
* Note: connect() cant time out for inspsockets in this commit. They'll sit in ↵Gravatar brain2006-08-281-7/+0
| | | | | | memory forever -- if you want something actually working properly wait for the next commit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5040 e03df62e-2008-0410-955e-edbf42e46eb7
* Add support for NAMESXGravatar brain2006-08-281-20/+26
| | | | | | | | Tidy up m_alias blank lines Add m_namesx.so to example conf (no extra config tags required for it, it "just works") git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5039 e03df62e-2008-0410-955e-edbf42e46eb7
* Bail out if we get a non-existent userGravatar brain2006-08-271-2/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5033 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for w00t, now its boo time :)Gravatar brain2006-08-271-1/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5032 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix mode granting in FJOINGravatar brain2006-08-271-2/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5031 e03df62e-2008-0410-955e-edbf42e46eb7
* I only fix stuff at 3:30am if im asked nicely and now im too tired to think ↵Gravatar brain2006-08-271-4/+4
| | | | | | any more :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5030 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra sanity checksGravatar brain2006-08-271-5/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5029 e03df62e-2008-0410-955e-edbf42e46eb7
* Sometimes we were just doing Route->GetSock(), without first checking Route ↵Gravatar brain2006-08-271-4/+4
| | | | | | | | | was non-null. Instead, do "if (Route && Route->GetSock())" in a few places. This should make stuff water-tight git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5027 e03df62e-2008-0410-955e-edbf42e46eb7
* Overloaded char* equivalents of some core functions, will help us track down ↵Gravatar brain2006-08-271-0/+16
| | | | | | how the CRAP a stack-allocated std::string can be null? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5026 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for missing comma in FJOIN elementGravatar brain2006-08-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5008 e03df62e-2008-0410-955e-edbf42e46eb7
* Forgot the comma in first joinGravatar brain2006-08-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5005 e03df62e-2008-0410-955e-edbf42e46eb7
* If we get an unknown prefix character on a user when they join, we throw a ↵Gravatar brain2006-08-231-0/+6
| | | | | | fit and close the connection git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5004 e03df62e-2008-0410-955e-edbf42e46eb7
* Multi-prefix FJOIN, and allowing module-defined prefixes across the networkGravatar brain2006-08-231-49/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5002 e03df62e-2008-0410-955e-edbf42e46eb7
* More prefixchar stuff.Gravatar brain2006-08-231-15/+1
| | | | | | | WARNING: 005 numeric is broken in this commit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5000 e03df62e-2008-0410-955e-edbf42e46eb7
* In 1.1, place all FJOIN parameters in the last parameter of the FJOIN - if ↵Gravatar brain2006-08-211-3/+8
| | | | | | | | | there is more than one user joining, prefix with a colon. This way we're not limited to ~12 users per FJOIN command. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4988 e03df62e-2008-0410-955e-edbf42e46eb7
* EventHandler class, an abstraction for raw i/oGravatar brain2006-08-181-7/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4941 e03df62e-2008-0410-955e-edbf42e46eb7