summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2008-04-10Add m_ripemd160 on behalf of Brain. Adds ripemd-160 hashing to our ↵w00t
collection of providers. Will doc later. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9445 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-09Fix thesew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9444 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-09Apply brain's patch for binary safety of hash providers, and remove rehash ↵w00t
from windows project (manually applied that due to linefeed shit) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9441 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-08Fix a bug with /SHUN deletion (it didn't work)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9433 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08CBan rewritten to use the XLine API. Untested as yet.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9432 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
2008-04-08Fix compile errorw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9420 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08REG_ALL check is not required, since OnUserConnect is triggered after ↵w00t
NICK/USER recieved, but we don't want to bother trying to SHUN remote users too, so check IS_LOCAL in the connection event git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9419 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08SHUN: check SHUN on connect, extend user with shunned metadata if they ↵w00t
match, and disallow any commands if metadata exists instead of constantly rechecking bans per-command. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9418 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Ugh, fixify. msms?brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9417 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07When map says 0ms, make it read "<1ms" instead of 0, 0 doesnt make ANY sense ↵brain
at all, transfer of data is not instant! Also tidy up headers for this file, we include far more of spanningtree than we actually use git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9416 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07Hosts vector not cleared on rehash, made rehashing for changes impossiblebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9414 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07SHUN works (locally at least)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9412 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07Hook events properly.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9411 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07Add a factory to produce shuns, don't autoapply to userlist, etc.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9410 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07Use SHUN, not S, try match on std::string for removalw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9408 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07Unrestrict users before REG_ALLw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9407 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07This should probably be tested, but makes a whole lot more sense like this ↵brain
(users.cpp) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9404 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07Show SID on /mapw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9403 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07remote MAP reply is backwards :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9402 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07Use server names for introduction of servers, not SIDsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9401 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07Typo x 2 (ta Zaba)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9399 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07Typow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9398 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07Convert this to use the new XLine API, this results in fairly significant ↵w00t
lessening of code complexity.. also now more up to date with our recent coding style. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9397 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07Add m_shun from third party to 1.2, update it to compile (currently ↵w00t
untested..) and fix a printf-bug in the process git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9396 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Fix fake direction in TOPIC, you cant use a uuid as a command origin in the ↵brain
send functions git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9393 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Its ok to allow remote map to non-opers now, found the real culpritbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9392 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Fix bug where OPERTYPE does not propogate more than one server in distance ↵brain
due to it being propogated with a nick prefix. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9391 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Remote map only works for opers. Fix problem where only part of the map is ↵brain
shown, and also restrict to opers only so that normal users cant use it to probe network routes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9390 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9389 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06The map matrix must be static. For some reason it blows up when it is not. ↵brain
This fixes the display oddities, as far as i can tell. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9388 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Initialise var (another valgrind warning)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9386 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Remote /MAP (that now doesn't confuse clients ;p)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9383 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Fix this up to convert deque to const char* const for w00tbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9382 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Remote /MAP: caution, this doesn't compilew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9381 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06Revert not-required haxbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9380 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-06For some reason there was a FinishBurst in the encap command, which was ↵brain
sending spurious end of burst messages git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9379 e03df62e-2008-0410-955e-edbf42e46eb7