]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
15 years agoMake rehash generate a new ServerInstance->Config object
danieldg [Wed, 1 Jul 2009 22:55:46 +0000 (22:55 +0000)]
Make rehash generate a new ServerInstance->Config object

This makes it possible to cancel a pending rehash, and fixes possible
threading issues with rehash and other events.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11424 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMove list of open ports out of Config object
danieldg [Wed, 1 Jul 2009 22:55:39 +0000 (22:55 +0000)]
Move list of open ports out of Config object

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11423 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoCheck for oper max chans before user max chans, fixes code weirdness and bug #876.
w00t [Tue, 30 Jun 2009 22:53:12 +0000 (22:53 +0000)]
Check for oper max chans before user max chans, fixes code weirdness and bug #876.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11422 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix +g messages being borked with multiple servers, fixes bug #880
w00t [Tue, 30 Jun 2009 17:16:33 +0000 (17:16 +0000)]
Fix +g messages being borked with multiple servers,  fixes bug #880

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11421 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd BS/BotServ to default atheme aliases.
w00t [Tue, 30 Jun 2009 17:05:55 +0000 (17:05 +0000)]
Add BS/BotServ to default atheme aliases.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11420 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRoll back mysterious DNS change from 2007 which broke multiple-answer
w00t [Tue, 30 Jun 2009 13:59:27 +0000 (13:59 +0000)]
Roll back mysterious DNS change from 2007 which broke multiple-answer
DNS requests (CNAME, A). It looks like this was to be related to bitmask
dnsbl support, but it would never have worked anyway (resultnum was always 0..).

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11419 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agom_sslinfo does not depend on external libraries, it should not be in extra
danieldg [Sat, 27 Jun 2009 21:03:46 +0000 (21:03 +0000)]
m_sslinfo does not depend on external libraries, it should not be in extra

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11418 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMake pkg-config failure error clearer
danieldg [Fri, 26 Jun 2009 12:10:16 +0000 (12:10 +0000)]
Make pkg-config failure error clearer

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11417 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRebuild modeclasses.a when configure -update is run
danieldg [Thu, 18 Jun 2009 00:33:03 +0000 (00:33 +0000)]
Rebuild modeclasses.a when configure -update is run

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11416 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix incorrect attempted inline of irc::sockets::sa_size
danieldg [Tue, 16 Jun 2009 04:21:28 +0000 (04:21 +0000)]
Fix incorrect attempted inline of irc::sockets::sa_size

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11415 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix sockaddr length argument, BSD will complain if it doesn't exactly match the expec...
danieldg [Tue, 16 Jun 2009 04:02:21 +0000 (04:02 +0000)]
Fix sockaddr length argument, BSD will complain if it doesn't exactly match the expected size

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11414 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix ENCAP forwarding with multiword final parameter, noticed by Namegduf
danieldg [Mon, 15 Jun 2009 23:57:31 +0000 (23:57 +0000)]
Fix ENCAP forwarding with multiword final parameter, noticed by Namegduf

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11413 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoImprove valdebug-unattended: increase timeout to 90 seconds, and generate/use suppresions
danieldg [Sun, 14 Jun 2009 21:12:16 +0000 (21:12 +0000)]
Improve valdebug-unattended: increase timeout to 90 seconds, and generate/use suppresions

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11412 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoBackport BufferedSocket::DoConnect rewrite to fix valgrind warning
danieldg [Sun, 14 Jun 2009 20:21:06 +0000 (20:21 +0000)]
Backport BufferedSocket::DoConnect rewrite to fix valgrind warning

Syscall param socketcall.connect(serv_addr..sin6_flowinfo) points to uninitialised byte(s)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11411 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoThese commands do not need to be VF_COMMON
danieldg [Sun, 14 Jun 2009 05:12:44 +0000 (05:12 +0000)]
These commands do not need to be VF_COMMON

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11410 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoDon't globally route SETNAME, the FNAME is sufficient. Fixes bug #875
danieldg [Sun, 14 Jun 2009 05:07:02 +0000 (05:07 +0000)]
Don't globally route SETNAME, the FNAME is sufficient. Fixes bug #875

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11409 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agomore fixes. inet_pton is now in error, this is because the windows 6.0 sdk defines...
brain [Fri, 12 Jun 2009 16:34:23 +0000 (16:34 +0000)]
more fixes. inet_pton is now in error, this is because the windows 6.0 sdk defines it, we need some kind of ifdef or something around this to not define our own if we have the 6.0 SDK. Again i will check this if i have chance, otherwise... :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11407 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoThis file *BROKEN AGAIN* in windows builds (VC9) - uint_16t and uint_32t do not exist...
brain [Fri, 12 Jun 2009 16:27:11 +0000 (16:27 +0000)]
This file *BROKEN AGAIN* in windows builds (VC9) - uint_16t and uint_32t do not exist in windows visual studio 2008! I will fix this at some later date unless someone beats me to it, as i still have no access to a reasonable PC.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11406 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMakefile updates: clean up some installation assumptions
danieldg [Sun, 7 Jun 2009 02:58:07 +0000 (02:58 +0000)]
Makefile updates: clean up some installation assumptions

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11405 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAllow SSL fingerprint-based server authentication
danieldg [Sun, 7 Jun 2009 02:57:54 +0000 (02:57 +0000)]
Allow SSL fingerprint-based server authentication

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11404 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoDon't display locally bound SSL ports in SSL= (for hidden services and such)
w00t [Sat, 6 Jun 2009 20:56:41 +0000 (20:56 +0000)]
Don't display locally bound SSL ports in SSL= (for hidden services and such)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11403 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMakefile updates: Add "make help" and "make M=m_modname" to build an individual module
danieldg [Sat, 6 Jun 2009 00:29:19 +0000 (00:29 +0000)]
Makefile updates: Add "make help" and "make M=m_modname" to build an individual module

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11402 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd daniel's third-party module repository
danieldg [Fri, 5 Jun 2009 00:28:17 +0000 (00:28 +0000)]
Add daniel's third-party module repository

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11401 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUse pkg-config to search for gnutls rather than the now-removed libgnutls-config
danieldg [Wed, 3 Jun 2009 04:05:58 +0000 (04:05 +0000)]
Use pkg-config to search for gnutls rather than the now-removed libgnutls-config

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11400 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoChange m_override to send snomasks globally
danieldg [Tue, 2 Jun 2009 02:43:36 +0000 (02:43 +0000)]
Change m_override to send snomasks globally

This uses "G" for both local and global; "g" is already taken by globops.
Fixes bug #860.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11399 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoIgnore and remove {BSD,GNU}makefile
danieldg [Mon, 1 Jun 2009 17:08:53 +0000 (17:08 +0000)]
Ignore and remove {BSD,GNU}makefile

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11398 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMakefile updates: Fix BSD make conditionals
danieldg [Mon, 1 Jun 2009 14:25:23 +0000 (14:25 +0000)]
Makefile updates: Fix BSD make conditionals

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11397 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMakefile updates: Allow run-cc wrapper to be disabled by "make V=1"
danieldg [Mon, 1 Jun 2009 01:26:23 +0000 (01:26 +0000)]
Makefile updates: Allow run-cc wrapper to be disabled by "make V=1"

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11396 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMakefile updates: clean up command lines
danieldg [Mon, 1 Jun 2009 01:26:15 +0000 (01:26 +0000)]
Makefile updates: clean up command lines

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11395 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoThis time it's actually compile tested
danieldg [Mon, 1 Jun 2009 00:47:56 +0000 (00:47 +0000)]
This time it's actually compile tested

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11394 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoOK, it's more useful if this compiles...
danieldg [Mon, 1 Jun 2009 00:27:50 +0000 (00:27 +0000)]
OK, it's more useful if this compiles...

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11393 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix unsafe iteration pattern in m_timedbans - vector::erase invalidates all iterators...
danieldg [Mon, 1 Jun 2009 00:25:32 +0000 (00:25 +0000)]
Fix unsafe iteration pattern in m_timedbans - vector::erase invalidates all iterators following the elements to be erased.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11392 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMakefile updates: remove MAKEPROG/MAKEORDER
danieldg [Sat, 30 May 2009 15:31:53 +0000 (15:31 +0000)]
Makefile updates: remove MAKEPROG/MAKEORDER

Also update the output on "make debug" to look better and avoid
interleaving header output on a parallel make.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11391 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove the ServerConfig::DirValid check that breaks symlinks
danieldg [Mon, 25 May 2009 22:50:49 +0000 (22:50 +0000)]
Remove the ServerConfig::DirValid check that breaks symlinks

This was included as a security check to prevent symlink attacks,
but this is no longer useful; anyone who can exploit the attack now
can just modify the ircd itself.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11390 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMake timestamp output in /CHECK consistent
danieldg [Sun, 24 May 2009 16:05:47 +0000 (16:05 +0000)]
Make timestamp output in /CHECK consistent

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11389 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoOnRehash changes: split to multiple hooks to clarify use and prevent explosion of...
danieldg [Sun, 24 May 2009 02:53:45 +0000 (02:53 +0000)]
OnRehash changes: split to multiple hooks to clarify use and prevent explosion of rehashes on a /REHASH *

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agom_dnsbl: Add default duration and error message on invalid duration
danieldg [Sat, 23 May 2009 13:40:52 +0000 (13:40 +0000)]
m_dnsbl: Add default duration and error message on invalid duration

Before, this caused DNSBL hits to take no action, as the zlines expired
before being applied. The default duration of 60 seconds exists only to
make the bans work; a longer duration is recommended to reduce log noise.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11387 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix UID collision on reload of m_spanningtree.so
danieldg [Thu, 14 May 2009 23:27:47 +0000 (23:27 +0000)]
Fix UID collision on reload of m_spanningtree.so

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11386 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix some incorrect STL iterations (using < end() instead of != end())
special [Thu, 14 May 2009 01:12:20 +0000 (01:12 +0000)]
Fix some incorrect STL iterations (using < end() instead of != end())

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11385 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix r11381 checking HideWhoisServer incorrectly
danieldg [Thu, 14 May 2009 00:03:00 +0000 (00:03 +0000)]
Fix r11381 checking HideWhoisServer incorrectly

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11384 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix incomple memset() in irc::sockets::aptosa, add support for converting empty addresses
danieldg [Wed, 13 May 2009 23:43:27 +0000 (23:43 +0000)]
Fix incomple memset() in irc::sockets::aptosa, add support for converting empty addresses

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11383 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMake User::ServerInstance public so that FakeUser can access it. There is no reason...
danieldg [Wed, 13 May 2009 20:57:49 +0000 (20:57 +0000)]
Make User::ServerInstance public so that FakeUser can access it. There is no reason to make this private, really

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11382 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoHide server sources if HideWhoisServer is set, noticed by Brain
danieldg [Wed, 13 May 2009 17:43:35 +0000 (17:43 +0000)]
Hide server sources if HideWhoisServer is set, noticed by Brain

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11381 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoShow correct server source to users on FTOPIC and FMODE
danieldg [Wed, 13 May 2009 17:04:25 +0000 (17:04 +0000)]
Show correct server source to users on FTOPIC and FMODE

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11380 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUse Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtree
danieldg [Wed, 13 May 2009 17:04:17 +0000 (17:04 +0000)]
Use Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtree

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

15 years agoMake the previous patches actually work
danieldg [Wed, 13 May 2009 05:28:00 +0000 (05:28 +0000)]
Make the previous patches actually work

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11378 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoReplace loopCall detection in OnUserKick with a check for the m_spanningtree fake...
danieldg [Wed, 13 May 2009 05:27:53 +0000 (05:27 +0000)]
Replace loopCall detection in OnUserKick with a check for the m_spanningtree fake user

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11377 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUse a FakeUser source for server-sourced commands in spanningtree
danieldg [Wed, 13 May 2009 05:27:46 +0000 (05:27 +0000)]
Use a FakeUser source for server-sourced commands in spanningtree

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11376 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoCreate subclass of User for FakeClient, to allow for use as command source
danieldg [Wed, 13 May 2009 05:27:39 +0000 (05:27 +0000)]
Create subclass of User for FakeClient, to allow for use as command source

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11375 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix for some modules sending global snotices at each individual server in a server...
aquanight [Wed, 13 May 2009 03:04:03 +0000 (03:04 +0000)]
Fix for some modules sending global snotices at each individual server in a server path.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11374 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoTranslate UIDs properly in m_sakick
danieldg [Wed, 13 May 2009 02:49:05 +0000 (02:49 +0000)]
Translate UIDs properly in m_sakick

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11373 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRevert some files accidentally committed in r11371. I'm apparently doing a very bad...
special [Wed, 13 May 2009 02:29:32 +0000 (02:29 +0000)]
Revert some files accidentally committed in r11371. I'm apparently doing a very bad job of multitasking.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11372 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix an issue in r11370 spotted by danieldg
special [Wed, 13 May 2009 02:18:33 +0000 (02:18 +0000)]
Fix an issue in r11370 spotted by danieldg

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11371 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix m_sakick to properly send local/global snomasks like other modules, instead of...
special [Wed, 13 May 2009 01:23:52 +0000 (01:23 +0000)]
Fix m_sakick to properly send local/global snomasks like other modules, 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

15 years agoRemove handshake timer on server sockets that die before completing handshake
danieldg [Thu, 7 May 2009 14:51:10 +0000 (14:51 +0000)]
Remove handshake timer on server sockets that die before completing handshake

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

15 years agoCompile fix: openssl does not have an ISSL_CLOSING state, unlike gnutls
danieldg [Thu, 7 May 2009 04:33:43 +0000 (04:33 +0000)]
Compile fix: openssl does not have an ISSL_CLOSING state, unlike gnutls

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11368 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix ListenSocketBase::GetPort() returning incorrect value on ports not bound to a...
danieldg [Thu, 7 May 2009 04:24:17 +0000 (04:24 +0000)]
Fix ListenSocketBase::GetPort() returning incorrect value on ports not bound to a specific address

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11367 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix two compile errors found by Shawn
special [Wed, 6 May 2009 22:59:05 +0000 (22:59 +0000)]
Fix two compile errors found by Shawn

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11366 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoSet errno in openssl when handshake fails
danieldg [Wed, 6 May 2009 22:46:56 +0000 (22:46 +0000)]
Set errno in openssl when handshake fails

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11365 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove FindDescriptor wrapper for GetRef, it doesn't do anything useful and in fact...
w00t [Wed, 6 May 2009 22:27:51 +0000 (22:27 +0000)]
Remove FindDescriptor wrapper for GetRef, it doesn't do anything useful and 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

15 years agoSet errno properly on GnuTLS sessions that die during the SSL handshake
danieldg [Wed, 6 May 2009 22:26:11 +0000 (22:26 +0000)]
Set errno properly on GnuTLS sessions that die during the SSL handshake

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11363 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agom_filter: Do not attempt to filter messages from remote users
special [Tue, 5 May 2009 23:43:40 +0000 (23:43 +0000)]
m_filter: Do not attempt to filter messages from remote users

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11362 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoCanonicalize bind addresses when creating listen sockets
danieldg [Mon, 4 May 2009 23:24:00 +0000 (23:24 +0000)]
Canonicalize bind addresses when creating listen sockets

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

15 years agoFix unnecessary heap allocation on rehash: stack allocated ConfigReader is fine.
w00t [Mon, 4 May 2009 20:27:54 +0000 (20:27 +0000)]
Fix unnecessary heap allocation on rehash: stack allocated ConfigReader is fine.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11359 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoCopypastafail.
w00t [Sun, 3 May 2009 12:16:10 +0000 (12:16 +0000)]
Copypastafail.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11358 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoSome general tidyup in here (also some possible desync fixes, check IS_LOCAL..),...
w00t [Sun, 3 May 2009 12:15:19 +0000 (12:15 +0000)]
Some general tidyup in here (also some possible desync fixes, check 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

15 years ago(for now), comment out opercount from individual servers in XML stats. This can be...
w00t [Sun, 3 May 2009 12:06:33 +0000 (12:06 +0000)]
(for now), comment out opercount from individual servers in XML stats. This 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

15 years agoAllow E:Lines to exempt targets from SHUN and RLINE. Fixes bug #852 reported by Taros.
w00t [Sun, 3 May 2009 11:56:03 +0000 (11:56 +0000)]
Allow E:Lines to exempt targets from SHUN and RLINE. Fixes bug #852 reported by Taros.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11355 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoChange making callerid significantly less expensive for quitting large amounts of...
w00t [Sat, 2 May 2009 22:44:20 +0000 (22:44 +0000)]
Change making callerid significantly less expensive for quitting large 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

15 years agoMinor cleanup: move RemoveFromAllAccepts() to a private class method
w00t [Sat, 2 May 2009 21:43:12 +0000 (21:43 +0000)]
Minor cleanup: move RemoveFromAllAccepts() to a private class method

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11353 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoGlobally route "a" snotices for more modules. Patch from Milliways.
danieldg [Sat, 2 May 2009 19:55:02 +0000 (19:55 +0000)]
Globally route "a" snotices for more modules. Patch from Milliways.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11352 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove commands makefile also on make distclean.
w00t [Sat, 2 May 2009 19:02:25 +0000 (19:02 +0000)]
Remove commands makefile also on make distclean.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11351 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix two stupid mistakes here
w00t [Sat, 2 May 2009 18:58:02 +0000 (18:58 +0000)]
Fix two stupid mistakes here

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11350 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoPatch from eLement notifying the user who sent a NICKLOCK that the target was locked...
w00t [Sat, 2 May 2009 18:24:58 +0000 (18:24 +0000)]
Patch from eLement notifying the user who sent a NICKLOCK that the target was locked successfully, fixes bug #854.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11349 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove an old debug log, and fix compile.
w00t [Sat, 2 May 2009 18:18:01 +0000 (18:18 +0000)]
Remove an old debug log, and fix compile.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11348 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix: Channel aliases should work a bit more like user aliases. This is a BC change...
w00t [Sat, 2 May 2009 18:18:00 +0000 (18:18 +0000)]
Fix: Channel aliases should work a bit more like user aliases. This is a BC 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

15 years agoReplace $chan to "" for a non-channel command.
w00t [Sat, 2 May 2009 18:17:59 +0000 (18:17 +0000)]
Replace $chan to "" for a non-channel command.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11346 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoSend rehash message to global sno, fixes bug #855. Also only send message when the...
danieldg [Sat, 2 May 2009 15:01:32 +0000 (15:01 +0000)]
Send rehash message to global sno, fixes bug #855. Also only send message when the rehash happens.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11344 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix SILENCE command in m_silence being reported as being in m_slience_ext, noticed...
danieldg [Fri, 1 May 2009 21:41:04 +0000 (21:41 +0000)]
Fix SILENCE command in m_silence being reported as being in m_slience_ext, noticed by SnoFox

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11343 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix bug found by Jeremy from Teranova, thanks: if an explicit bind to an IP is not...
w00t [Thu, 30 Apr 2009 13:35:25 +0000 (13:35 +0000)]
Fix bug found by Jeremy from Teranova, thanks: if an explicit bind to an IP 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

15 years agoFix m_redirect to work properly with SAMODE
danieldg [Wed, 29 Apr 2009 19:37:20 +0000 (19:37 +0000)]
Fix m_redirect to work properly with SAMODE

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11339 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoHow about we make this compile?
danieldg [Wed, 29 Apr 2009 03:49:00 +0000 (03:49 +0000)]
How about we make this compile?

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11338 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoNormalize IPv6 addresses when producing SSL port list, fixes bug #853
danieldg [Wed, 29 Apr 2009 03:21:22 +0000 (03:21 +0000)]
Normalize IPv6 addresses when producing SSL port list, fixes bug #853

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11337 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd IP address conversion utility functions, irc::sockets::aptosa and irc::sockets...
danieldg [Wed, 29 Apr 2009 03:21:15 +0000 (03:21 +0000)]
Add IP address conversion utility functions, irc::sockets::aptosa and irc::sockets::satoap

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11336 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoOverloading SetMode seems to cause the compiler to interpret "" as a bool and not...
danieldg [Wed, 29 Apr 2009 02:43:16 +0000 (02:43 +0000)]
Overloading SetMode seems to cause the compiler to interpret "" as a bool and not a string. Fixes bug #849

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11335 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix OnSetAway hook denying remote users' change rather than local users
danieldg [Mon, 27 Apr 2009 15:30:03 +0000 (15:30 +0000)]
Fix OnSetAway hook denying remote users' change rather than local users

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11334 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove sending +q from OnPostJoin, fixes bug #847. See removed comment for why it...
danieldg [Mon, 27 Apr 2009 04:42:04 +0000 (04:42 +0000)]
Remove sending +q from OnPostJoin, fixes bug #847. See removed comment for why it existed

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11333 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoCorrect 005 output of m_ssl_gnutls when used for STARTTLS with no client SSL ports...
danieldg [Sun, 26 Apr 2009 20:48:13 +0000 (20:48 +0000)]
Correct 005 output of m_ssl_gnutls when used for STARTTLS with no client SSL ports configured

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11332 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoEnable lag-check pings on active servers - if bandwidth waste is an issue, there...
danieldg [Sun, 26 Apr 2009 20:48:05 +0000 (20:48 +0000)]
Enable lag-check pings on active servers - if bandwidth waste is an issue, 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

15 years agoRemove lag reporting in /map from servers that do not yet have a valid value; <1ms...
danieldg [Sun, 26 Apr 2009 20:47:57 +0000 (20:47 +0000)]
Remove lag reporting in /map from servers that do not yet have a valid value; <1ms is misleading.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11330 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix OnUserRegister being triggered twice if someone sent a NICK while waiting on...
danieldg [Sun, 26 Apr 2009 03:43:59 +0000 (03:43 +0000)]
Fix OnUserRegister being triggered twice if someone sent a NICK while waiting on an ident timeout

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11329 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix crash from unregistered users joining a channel, discovered by Namegduf
danieldg [Fri, 24 Apr 2009 15:56:31 +0000 (15:56 +0000)]
Fix crash from unregistered users joining a channel, discovered by Namegduf

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11328 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agorollback r11326, we're going to make vc9 the officially supported windows build metho...
peavey [Thu, 23 Apr 2009 22:21:35 +0000 (22:21 +0000)]
rollback r11326, we're going to make vc9 the officially supported windows 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

15 years agoHeres the beef so far
brain [Thu, 23 Apr 2009 19:03:40 +0000 (19:03 +0000)]
Heres the beef so far

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11326 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAddendum to previous ping patch: NextPingTime was not being set at endburst, and...
danieldg [Wed, 22 Apr 2009 16:35:27 +0000 (16:35 +0000)]
Addendum to previous ping patch: NextPingTime was not being set at endburst, and servers without ENDBURST were no longer being detected.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11325 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix PingFlag not being set correctly for servers whose burst takes longer than PingFreq
danieldg [Wed, 22 Apr 2009 02:26:03 +0000 (02:26 +0000)]
Fix PingFlag not being set correctly for servers whose burst takes longer than PingFreq

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11324 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAbort link early when mismatched modules are detected so that the error message is...
danieldg [Tue, 21 Apr 2009 15:15:05 +0000 (15:15 +0000)]
Abort link early when mismatched modules are detected so that the error message is more useful

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11323 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoActually use irc::modestacker correctly
danieldg [Mon, 20 Apr 2009 22:12:40 +0000 (22:12 +0000)]
Actually use irc::modestacker correctly

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11322 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUse loopCall to protect OnUserKick rather than the triggerevents hack
danieldg [Mon, 20 Apr 2009 13:29:58 +0000 (13:29 +0000)]
Use loopCall to protect OnUserKick rather than the triggerevents hack

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11321 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoInitialize loopCall on construction
danieldg [Sun, 19 Apr 2009 15:59:16 +0000 (15:59 +0000)]
Initialize loopCall on construction

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11320 e03df62e-2008-0410-955e-edbf42e46eb7