summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-13Show correct server source to users on FTOPIC and FMODEdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11380 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Use Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtreedanieldg
This makes it possible to determine which server initiated a mode change, instead of having only a flag saying that some server did. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11379 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Make the previous patches actually workdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11378 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Replace loopCall detection in OnUserKick with a check for the m_spanningtree ↵danieldg
fake user git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11377 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Use a FakeUser source for server-sourced commands in spanningtreedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11376 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Create subclass of User for FakeClient, to allow for use as command sourcedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11375 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Fix for some modules sending global snotices at each individual server in a ↵aquanight
server path. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11374 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Translate UIDs properly in m_sakickdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11373 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Revert some files accidentally committed in r11371. I'm apparently doing a ↵special
very bad job of multitasking. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11372 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Fix an issue in r11370 spotted by danieldgspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11371 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Fix m_sakick to properly send local/global snomasks like other modules, ↵special
instead of repeating a global snomask once per linked server. Found by SnoFox git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11370 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-07Remove handshake timer on server sockets that die before completing handshakedanieldg
This fixes some very subtle and hard-to-trace bugs that are triggered when a file descriptor and memory address of an EventHandler* are reused after being deallocated. Impossible to trigger in valgrind; has been seen in live networks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11369 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-07Compile fix: openssl does not have an ISSL_CLOSING state, unlike gnutlsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11368 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-07Fix ListenSocketBase::GetPort() returning incorrect value on ports not bound ↵danieldg
to a specific address git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11367 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-06Fix two compile errors found by Shawnspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11366 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-06Set errno in openssl when handshake failsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11365 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-06Remove FindDescriptor wrapper for GetRef, it doesn't do anything useful and ↵w00t
in fact is a bit harmful in some ways as we've seen.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11364 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-06Set errno properly on GnuTLS sessions that die during the SSL handshakedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11363 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-05m_filter: Do not attempt to filter messages from remote usersspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11362 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-04Canonicalize bind addresses when creating listen socketsdanieldg
This fixes /stats p output for SSL ports not working if a non-canonical address is used in the configuration (IPv6 with :: or mixed hexadecimal case). This also cleans up some now-useless sockaddr[2] allocations. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11361 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-04Fix unnecessary heap allocation on rehash: stack allocated ConfigReader is fine.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11359 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-03Copypastafail.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11358 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-03Some general tidyup in here (also some possible desync fixes, check ↵w00t
IS_LOCAL..), also check that the target channel exists and sender is opped before allowing +b redirects from a remote sender. Fixes bug #851, reported by SnoFox. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11357 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-03(for now), comment out opercount from individual servers in XML stats. This ↵w00t
can be addressed in a future release. Bandaid fix for bug #846, reported by SnoFox. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11356 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-03Allow E:Lines to exempt targets from SHUN and RLINE. Fixes bug #852 reported ↵w00t
by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11355 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02Change making callerid significantly less expensive for quitting large ↵w00t
amounts of users at once. This is *not* runtime tested yet. Testnet, please update this module. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11354 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02Minor cleanup: move RemoveFromAllAccepts() to a private class methodw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11353 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02Globally route "a" snotices for more modules. Patch from Milliways.danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11352 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02Remove commands makefile also on make distclean.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11351 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02Fix two stupid mistakes herew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11350 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02Patch from eLement notifying the user who sent a NICKLOCK that the target ↵w00t
was locked successfully, fixes bug #854. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11349 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02Remove an old debug log, and fix compile.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11348 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02Fix: Channel aliases should work a bit more like user aliases. This is a BC ↵w00t
change: all existing channel aliases will likely be BROKEN, and will need to be changed. Like user aliases, $1 is now the fantasy command that was invoked, $2 is the first real param of the command. Reported by Namegduf. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11347 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02Replace $chan to "" for a non-channel command.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11346 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02Send rehash message to global sno, fixes bug #855. Also only send message ↵danieldg
when the rehash happens. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11344 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-01Fix SILENCE command in m_silence being reported as being in m_slience_ext, ↵danieldg
noticed by SnoFox git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11343 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-30Fix bug found by Jeremy from Teranova, thanks: if an explicit bind to an IP ↵w00t
is not made, don't assume all <bind> tags are for ipv6 IPs on an IPv6 compile (WTF). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11342 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-29Fix m_redirect to work properly with SAMODEdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11339 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-29How about we make this compile?danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11338 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-29Normalize IPv6 addresses when producing SSL port list, fixes bug #853danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11337 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-29Add IP address conversion utility functions, irc::sockets::aptosa and ↵danieldg
irc::sockets::satoap git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11336 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-29Overloading SetMode seems to cause the compiler to interpret "" as a bool ↵danieldg
and not a string. Fixes bug #849 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11335 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-27Fix OnSetAway hook denying remote users' change rather than local usersdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11334 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-27Remove sending +q from OnPostJoin, fixes bug #847. See removed comment for ↵danieldg
why it existed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11333 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-26Correct 005 output of m_ssl_gnutls when used for STARTTLS with no client SSL ↵danieldg
ports configured git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11332 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-26Enable lag-check pings on active servers - if bandwidth waste is an issue, ↵danieldg
there should be an option to disable lag pings git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11331 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-26Remove lag reporting in /map from servers that do not yet have a valid ↵danieldg
value; <1ms is misleading. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11330 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-26Fix OnUserRegister being triggered twice if someone sent a NICK while ↵danieldg
waiting on an ident timeout git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11329 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-24Fix crash from unregistered users joining a channel, discovered by Namegdufdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11328 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-23rollback r11326, we're going to make vc9 the officially supported windows ↵peavey
build methods since the few of us doing win dev can't keep up maintaining the others. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11327 e03df62e-2008-0410-955e-edbf42e46eb7