summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
AgeCommit message (Collapse)Author
2008-06-06Fix bug from std::string porting, thanks ThunderHackerbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9856 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06Whoops, remote users not being counted in map, fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9851 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06More spanningtree tweaksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9844 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06Another here toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9843 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-06Allow changing of command string and parameter vector within OnPreCommand, ↵brain
allowing for m_abbreviation and other fancy stuff. Add basic skeleton module for it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9840 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-01Remove limits on assigning of oper types. Theres no practical reason to ↵brain
restrict these to nicklen length git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9831 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-01Add ProtocolInterface::Introduce() to prevent confusion over event ordering, ↵brain
and allow for more flexible protocol use git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9827 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25Give modestacker a serverinstancebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9806 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25First phase of conversion to dynamic limits on all the lengths, configured ↵brain
via the <limits> tag (the tag isnt there yet, these all just run on defaults in the class constructor) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9802 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-23There is no need for char* here any morebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9798 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-23NEVER use the two-param assign unless you want your string padding to len ↵brain
bytes with \0! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9796 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-23Don't copy vars (faster) and also avoid a crash (non-const -> const)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9795 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-23Collision tweaksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9790 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-21Clean this up a bit, and log about ignoring link blocks due to missing ↵w00t
attributes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9787 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-20Forward port r9782: show IP (not unknown) for unauthed connectionsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9783 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-20Add note to check other server on this messagew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9779 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19Convert channel::name to std::string, this was a beastie!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9770 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19Convert channel banlist members to std::stringbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9769 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19Convert connection::hostbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9768 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18Convert m_spanningtreeaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9751 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18Fix some unneeded .c_str() usage in m_spanningtreeaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9743 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08Add call to protocol interface to get useful info on the server map. Return ↵brain
a std::list of classes each of which has a server name, parent server name, user and oper count, and latency in millisecs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9673 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Remove JOIN sending, all should be FJOINbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9651 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Okay, this was good in theory, but totally and utterly fucked in ↵w00t
implementation. Rip out automatic global snotice code. It's not going to be *that* difficult to trigger global snotice with protocol interface now anyway I guess. We need to re-add calls to protocol interfaces in places like failed oper and so on. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9649 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Un-break this so remote users still get RemoteMessage okay if targetted at a ↵w00t
specific user, remove comment also as it's using PI now anyway git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9646 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Alter remotemessage here to not do what w00ts patch did, twicebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9645 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05fix some unitialised vectors and tidy up a bit.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9637 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Convert a few missingpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9635 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Conversionsaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9628 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Convert m_spanningtreeaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9626 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21Hack, hack, hack, hack hack. Hack hack. Probably fix snotice loops, though.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9573 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-18Make the CAPAB sender in spanningtree more readableaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9536 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-17Add todo notew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9531 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-17Remove SpanningTreeProtocolInterface::SendOperNotice - it was translated to ↵w00t
a SendSNONotice 'A' anyway, and only used by SAMODE, which duplicated it with a SendSNONotice 'A' also anyhow o.o - this means OPERNOTICE is now gone from protocol 1200, and SNONOTICE should be used instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9530 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-14Move options vlaues netbuffersize, maxwho, maxconn, softlimit, quietbursts, ↵brain
nouserdns into performance tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9505 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-14TRUNK CONFIG BREAKAGE WARNING: Move a bunch of options tag values into a new ↵brain
tag called 'security'. See example conf git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9504 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-09Move QuitUser into UserManager class, and unstaticize it. This prepares for ↵w00t
some benchmarking lulz on object pooling I plan to do today, as well as making more sense now we *have* a manager class git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9442 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Oddnessbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9439 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Extra debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9438 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Fix authentication logic, someone forgot to change an || to an &&, because ↵brain
we use continue now the logic is reversed, we continue if auth method one fails AND auth method two fails (instead of if auth method one fails OR auth method two fails) Also, fix bug where credentials of outbound server are leaked on successful auth to other ircds behind it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9437 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Changes needed to get open-linking working.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9431 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Fix compile error I introducedw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9430 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Comment tweakagew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9429 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08This comment is slightly out of date: we do write to opers now.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9428 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08No longer deprecated, just may not be usedw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9427 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08add a couple of parenthesis to the password comparison, because i couldnt ↵brain
easily make out the order of precedence, clarify it a bit :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9426 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Allow for open link networks (<link:name> to *) and tidy up checks here. XXX ↵w00t
someone check my work here because this was quite untidy, so I'm not 100% I got all the logic ops correct. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9425 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Remote REHASH stuff, this drove me nuts but should probably work now.. thx brainw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9423 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Update syntaxw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9422 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Finally apply my patch simplifying RSQUIT. Fixes bug #452, reported by Mark. ↵w00t
This won't be backported. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9421 e03df62e-2008-0410-955e-edbf42e46eb7