summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2006-08-08chanrec::KickUser and chanrec::ServerKickUser return number of users left on ↵brain
the channel after the kick. If either returns 0, you should delete the chanrec immediately after return: if (!c->KickUser(mysrc, mydest, "DIE")) /* arse */ delete c; git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4783 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08kick_channel -> chanrec::KickUser(), server_kick_channel -> ↵brain
chanrec::ServerKickUser() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4782 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08Add checking on AddFd that was missing (it assumed, like everything else)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4781 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Only local users can have angry monkeys and packs of wild dogs. These are ↵brain
local monkeys for local people! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4778 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Now with added ANGRY MONKEYS.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4777 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Change the error message, just for LeaChim <3brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4776 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07The segfaults on missing init_module symbol are now gone, and hopefully not ↵brain
coming back! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4772 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Change symbol backbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4771 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Added some hax :( to prevent invalid symbols. It seems that instead of ↵brain
returning NULL, its setting a pointer to -1 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4770 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Extra debug all over the place, which maybe we should keepbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4767 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Untested but compiling updates for Resolver DNS APIom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4766 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07General cleanup of code., add support for +Q channel mode (and config tag ↵om
<remove:supportnokicks>) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4765 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Add m_tline, tests how many users a gline, zline etc would match. Can use ↵brain
this before adding one if youre not sure, or youre just curious git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4763 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Fix for ipv6 buildbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4757 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Add <link:allowmask>brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4735 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Support CIDR, CIDR zline, /oper and CIDR <connect> tags. NOTE: With CIDR ↵brain
oper, ident field is not supported (yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4732 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Fix TS lowering, also update local variablebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4729 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-05Dont try and cloak remote clientsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4727 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-05Extra stuff for identifying ipv6 addressesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4726 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-05Use insp_aton so we can correctly cloak ipv6brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4725 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Sanity checksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4717 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Add 'no such server' on remote stats to invalid namebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4713 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Backwards mode stuff!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4712 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Fixes?brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4710 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Bugs bugsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4709 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4708 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Fix craq loopbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4707 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04More fuckupbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4706 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Not checking a pointer, bad brain badbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4705 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Whoops, typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4704 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Fixes for ::0 ip's, disable autobind when using ::ffff: etcbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4703 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04IPV6 compile fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4696 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Change to using userrec::ip as a sockaddr to store port, ip and address ↵brain
family, rather than userrec::ip4 and userrec::port. This allows us to handle remote ipv6 users on an ipv4 server, and vice versa. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4694 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-03Extra stuff for forcing a v4 or v6 lookupbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4679 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-03Added test framework, so that i can work on improving MakeIP6Intbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4677 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-03Fixed resolver, forward lookup of ipv6 doesnt work right yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4674 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-02Add error messages to Resolver::OnError()brain
Add exception handling to several places that use Resolver (it can throw) Remove Resolver::ProcessResult(), its now handled within the bowels of dns.cpp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4646 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-02(1) remove CleanAndResolve.brain
(2) remove feature of being able to bind hostnames in <bind> tags (it used CleanAndResolve) :p (3) Fix the stuff in SpanningTree that used CleanAndResolve to validate connecting ip addresses - it now builds an 'allowed ip cache' on rehash/startup instead git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4637 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-02Check for duplicate servers in OnLookupCompletebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4636 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-02Comment ServernameResolver classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4635 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-02InspSocket no longer resolves hosts.brain
InspSocket::DoResolve() and the stuff that calls it is gone, if you pass InspSocket an invalid ip, it will bail during its connect. You must now use Resolver classes to resolve hostnames into IP addresses, if you wish to do this. Currently, only one non-extra module does this, see class ServernameResolver within m_spanningtree git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4634 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01Remove unused temp buffersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4623 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01Clone counting works with ipv6 nowbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4621 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if ↵brain
this works yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01AF_INET -> define to AF_FAMILY, will be either AF_INET or AF_INET6brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4610 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01Move to entirely using insp_sockaddr and insp_inaddr for socket stuff, first ↵brain
step on the road to ipv6 support git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4609 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-30REMOTE STATS! WOOO AND YAY!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4596 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-30Fix to send out modes remotely when a ban expires so that other ircds have ↵brain
their bans removed (they used to rely upon the expiry of the ban at the opposite end of the connection by the other end's m_timedbans, now they dont have to) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4595 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-30Fix more timedban stuff - possible infinite loop if ban expires after the ↵brain
channel has been deleted (and/or re-created under the same name) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4592 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-29Fix for bug which can lock up ircd if someone adds a timed ban when the ↵brain
banlist is full git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4589 e03df62e-2008-0410-955e-edbf42e46eb7