]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoFix ipv4 bindings for ipv4 only servers
brain [Mon, 5 Feb 2007 21:00:42 +0000 (21:00 +0000)]
Fix ipv4 bindings for ipv4 only servers

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

17 years agoHeavy state of debug. If you are a developer, please avoid making use of this bit...
brain [Mon, 5 Feb 2007 20:48:35 +0000 (20:48 +0000)]
Heavy state of debug. If you are a developer, please avoid making use of this bit of code.

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

17 years agoMove quitting of clients to a central Cull List, and do quitting outside userrec...
peavey [Mon, 5 Feb 2007 20:08:51 +0000 (20:08 +0000)]
Move quitting of clients to a central Cull List, and do quitting outside userrec and in main loop.

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

17 years agoMake checkconf handle end of line comments.
peavey [Mon, 5 Feb 2007 18:26:59 +0000 (18:26 +0000)]
Make checkconf handle end of line comments.

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

17 years agoconfigure was linking a nonexistant header with ssl that has been in include/ for...
special [Mon, 5 Feb 2007 17:47:32 +0000 (17:47 +0000)]
configure was linking a nonexistant header with ssl that has been in include/ for awhile now

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

17 years agoFix crash in ReportConfigError when done via SIGHUP.
peavey [Mon, 5 Feb 2007 13:39:43 +0000 (13:39 +0000)]
Fix crash in ReportConfigError when done via SIGHUP.

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

17 years agoAnd another victim.
brain [Sun, 4 Feb 2007 23:13:03 +0000 (23:13 +0000)]
And another victim.

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

17 years agopeaveys checkconf finds its first victim, an extra quote in helpop-full.
brain [Sun, 4 Feb 2007 23:12:22 +0000 (23:12 +0000)]
peaveys checkconf finds its first victim, an extra quote in helpop-full.

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

17 years agoAdd a general xml syntax checker for config files. It parses includes and warns of...
peavey [Sun, 4 Feb 2007 22:52:06 +0000 (22:52 +0000)]
Add a general xml syntax checker for config files. It parses includes and warns of general syntax mistakes. ./inspircd checkconf to run.

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

17 years agoWe already have the numeric durations, why the fuck was I trying to get them again
w00t [Sun, 4 Feb 2007 14:36:06 +0000 (14:36 +0000)]
We already have the numeric durations, why the fuck was I trying to get them again

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

17 years agoSet a few defaults for <connect> tag.
peavey [Sun, 4 Feb 2007 14:14:56 +0000 (14:14 +0000)]
Set a few defaults for <connect> tag.

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

17 years agoCall events properly on KLINE, GLINE and ZLINE for DNSBL module. This fixes bans...
w00t [Sun, 4 Feb 2007 14:11:06 +0000 (14:11 +0000)]
Call events properly on KLINE, GLINE and ZLINE for DNSBL module. This fixes bans not propegating.

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

17 years agoBetter error reporting of failures to read certs in gnutls by calling gnutls_strerror...
brain [Sat, 3 Feb 2007 23:44:35 +0000 (23:44 +0000)]
Better error reporting of failures to read certs in gnutls by calling gnutls_strerror(). Man this api is so much nicer than the ugly one in ssl :)

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

17 years agoBetter logging for openssl, using SSL_print_error_cb() which calls a callback for...
brain [Sat, 3 Feb 2007 23:39:13 +0000 (23:39 +0000)]
Better logging for openssl, using SSL_print_error_cb() which calls a callback for error output (the default of outputting to stdout sucks)

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

17 years agoMake this work on ancient gcc's
brain [Sat, 3 Feb 2007 20:11:51 +0000 (20:11 +0000)]
Make this work on ancient gcc's

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

17 years agoOn ipv6 servers, if a user connects with 4in6 (0::ffff:...) then attempt a dnsbl...
brain [Sat, 3 Feb 2007 18:38:31 +0000 (18:38 +0000)]
On ipv6 servers, if a user connects with 4in6 (0::ffff:...) then attempt a dnsbl lookup of their ip (the bit after the 0::ffff:)

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

17 years agoUpdate the date here, remove the 'updated by' list, use SVN for that + there's a...
w00t [Sat, 3 Feb 2007 15:28:48 +0000 (15:28 +0000)]
Update the date here, remove the 'updated by' list, use SVN for that + there's a lot of people now :P

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

17 years agoFingerprint really shouldn't be in the example oper block by default; most people...
special [Sat, 3 Feb 2007 14:43:05 +0000 (14:43 +0000)]
Fingerprint really shouldn't be in the example oper block by default; most people don't use it, and quite a few seem to leave it in

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

17 years agoFix this not working.
peavey [Sat, 3 Feb 2007 01:19:14 +0000 (01:19 +0000)]
Fix this not working.

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

17 years agoMention that +z means SSL only in the 489, thanks dmb
w00t [Fri, 2 Feb 2007 21:28:56 +0000 (21:28 +0000)]
Mention that +z means SSL only in the 489, thanks dmb

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

17 years agoDon't set a user's oper host unless they are using a correct opertype - we don't...
w00t [Fri, 2 Feb 2007 15:43:55 +0000 (15:43 +0000)]
Don't set a user's oper host unless they are using a correct opertype - we don't oper them, so don't set the host either

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

17 years agoFixed a bug in m_connflood that caused the bootwait value to have no effect
special [Fri, 2 Feb 2007 06:22:29 +0000 (06:22 +0000)]
Fixed a bug in m_connflood that caused the bootwait value to have no effect

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

17 years agoMinor OS X patch, per BuildSmart for 10.3.x users
w00t [Fri, 2 Feb 2007 00:22:46 +0000 (00:22 +0000)]
Minor OS X patch, per BuildSmart for 10.3.x users

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

17 years agoGrr, searchirc uses .org now
brain [Thu, 1 Feb 2007 20:39:42 +0000 (20:39 +0000)]
Grr, searchirc uses .org now

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

17 years agoAdd <securelist:exception> to allow certain masks to get around securelist.
brain [Thu, 1 Feb 2007 20:26:12 +0000 (20:26 +0000)]
Add <securelist:exception> to allow certain masks to get around securelist.
By default add two lines to the config which allow searchirc and netsplit.de.
(bwahaha)

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

17 years agoChange the way versions are displayed by connect and /version so that its more friend...
brain [Thu, 1 Feb 2007 20:12:20 +0000 (20:12 +0000)]
Change the way versions are displayed by connect and /version so that its more friendly to searchirc's spider ;)

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

17 years agoNew patch from BuildSmart for OS X support, not broken like the last one
w00t [Thu, 1 Feb 2007 12:14:54 +0000 (12:14 +0000)]
New patch from BuildSmart for OS X support, not broken like the last one

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

17 years ago1.1.0+Diamond!
brain [Wed, 31 Jan 2007 20:24:46 +0000 (20:24 +0000)]
1.1.0+Diamond!

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

17 years agoRemove -O2, it seems to break tons of stuff with no clue how it did it
brain [Wed, 31 Jan 2007 17:35:13 +0000 (17:35 +0000)]
Remove -O2, it seems to break tons of stuff with no clue how it did it

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

17 years agoipv6 connect tweaks, to memcpy() sin6_addr's rather than assigning with =.
brain [Wed, 31 Jan 2007 01:41:33 +0000 (01:41 +0000)]
ipv6 connect tweaks, to memcpy() sin6_addr's rather than assigning with =.

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

17 years agoWhy the fuck do no systems have INADDR6_ANY?!
brain [Wed, 31 Jan 2007 00:36:56 +0000 (00:36 +0000)]
Why the fuck do no systems have INADDR6_ANY?!

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

17 years agoTweaks to backwards memcpy's that dont actually do anything, causing ipv6 address...
brain [Tue, 30 Jan 2007 23:56:20 +0000 (23:56 +0000)]
Tweaks to backwards memcpy's that dont actually do anything, causing ipv6 address bindings to potentially be bound to random ips.

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

17 years agoGood job we test, because often we find bugs ;p
brain [Tue, 30 Jan 2007 23:33:13 +0000 (23:33 +0000)]
Good job we test, because often we find bugs ;p

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

17 years agoSupport both forms of ISON as clients seem to send one and the RFC mandates another:
brain [Tue, 30 Jan 2007 23:26:56 +0000 (23:26 +0000)]
Support both forms of ISON as clients seem to send one and the RFC mandates another:
ISON nick1 nick2 nick3,
or
ISON :nick1 nick2 nick3.
Interestingly this means we now even support:   ISON nick1 nick2 :nick3 nick4

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

17 years agoFix w00ts compile error :p (if you do an if without braces, vars declared within...
brain [Tue, 30 Jan 2007 21:09:47 +0000 (21:09 +0000)]
Fix w00ts compile error :p (if you do an if without braces, vars declared within that if are in fact local :p)

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

17 years agoDocumentation change to indicate errno is valid on return from the constructor -...
brain [Tue, 30 Jan 2007 20:35:49 +0000 (20:35 +0000)]
Documentation change to indicate errno is valid on return from the constructor -- dont bother to svn up for this if youre testing right now

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

17 years agoWhoops, fix inspsocket so that its ok to use errno after a failure of the Write/Read...
brain [Tue, 30 Jan 2007 20:32:59 +0000 (20:32 +0000)]
Whoops, fix inspsocket so that its ok to use errno after a failure of the Write/Read methods or constructor!
the close() in its Close method always changed errno to "Endpoint is not connected" on error, so now we make a copy.

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

17 years agoAdd strerror(errno) to port bind failure on TreeSocket
brain [Tue, 30 Jan 2007 20:23:15 +0000 (20:23 +0000)]
Add strerror(errno) to port bind failure on TreeSocket

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

17 years agoIf no topic specified, give index help, thanks Robby
w00t [Tue, 30 Jan 2007 19:50:35 +0000 (19:50 +0000)]
If no topic specified, give index help, thanks Robby

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

17 years agoMerge spellig-mistaks patch from dmb
brain [Tue, 30 Jan 2007 19:04:23 +0000 (19:04 +0000)]
Merge spellig-mistaks patch from dmb

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

17 years agoFix the text in this numeric
brain [Tue, 30 Jan 2007 17:09:39 +0000 (17:09 +0000)]
Fix the text in this numeric

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

17 years agoAlso remove the references to the commands I removed (which don't exist anymore)
special [Tue, 30 Jan 2007 04:28:58 +0000 (04:28 +0000)]
Also remove the references to the commands I removed (which don't exist anymore)

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

17 years agoFixed a typo in the helpop-full example file that broke most of its contents (thanks...
special [Tue, 30 Jan 2007 04:27:58 +0000 (04:27 +0000)]
Fixed a typo in the helpop-full example file that broke most of its contents (thanks Robby)

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

17 years agoOpertype in /check is now properly spacified
special [Mon, 29 Jan 2007 03:46:19 +0000 (03:46 +0000)]
Opertype in /check is now properly spacified

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

17 years agoWhoops, switch around order of makefile rules so its not always assumed to be 'make...
brain [Sun, 28 Jan 2007 18:28:37 +0000 (18:28 +0000)]
Whoops, switch around order of makefile rules so its not always assumed to be 'make debug'

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

17 years agoAdd message about how building with debug makes huuuuuuuuuuuuuuge slower executables :p
brain [Sun, 28 Jan 2007 18:27:22 +0000 (18:27 +0000)]
Add message about how building with debug makes huuuuuuuuuuuuuuge slower executables :p

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

17 years agoAdded 'make debug' which does 'make all' with -g rather than -O2 -g1.
brain [Sun, 28 Jan 2007 17:37:09 +0000 (17:37 +0000)]
Added 'make debug' which does 'make all' with -g rather than -O2 -g1.
To correct your config for this new feature, ./configure -modupdate.

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

17 years agoFix this so that it works with outbound connects again.
brain [Sun, 28 Jan 2007 16:42:30 +0000 (16:42 +0000)]
Fix this so that it works with outbound connects again.
Also fix it to cope with EAGAIN properly in handshake negotiation without returning 1 from Write() (when nothing was actually written at the upper layer of the transport!)

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

17 years agoRemove debug, add a few comments
brain [Sun, 28 Jan 2007 16:17:55 +0000 (16:17 +0000)]
Remove debug, add a few comments

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

17 years agoFix broken openssl outbound connects.
brain [Sun, 28 Jan 2007 16:12:33 +0000 (16:12 +0000)]
Fix broken openssl outbound connects.
A record needs to be kept of if this session was initially outbound or inbound, so we know if we need to re-call SSL_connect or SSL_accept on handshake failure,
we also need to have two SSL_CTX's, one initialized as a client context and one as a server context (this is EW, but i guess its just how openssl does stuff)

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

17 years agoAdded errno to the epoll failure message for more detail
special [Sun, 28 Jan 2007 06:05:30 +0000 (06:05 +0000)]
Added errno to the epoll failure message for more detail

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

17 years agoSpellig mistak.
brain [Sat, 27 Jan 2007 22:51:34 +0000 (22:51 +0000)]
Spellig mistak.

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

17 years agoOnExtendedMode was removed in 1.0, the function names here were incorrect.
brain [Sat, 27 Jan 2007 22:50:56 +0000 (22:50 +0000)]
OnExtendedMode was removed in 1.0, the function names here were incorrect.

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

17 years agoPotential desync on "nick collision at same time as fjoin" fix
brain [Sat, 27 Jan 2007 18:13:46 +0000 (18:13 +0000)]
Potential desync on "nick collision at same time as fjoin" fix

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

17 years agofix so that OnWhois is triggered for remote whois, and remove smelly bold chars from...
brain [Sat, 27 Jan 2007 16:19:06 +0000 (16:19 +0000)]
fix so that OnWhois is triggered for remote whois, and remove smelly bold chars from m_botmode's numeric output.

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

17 years agoCorrectly allow all supporting versions of PostgreSQL to use secure string escaping.
peavey [Sat, 27 Jan 2007 15:59:52 +0000 (15:59 +0000)]
Correctly allow all supporting versions of PostgreSQL to use secure string escaping.

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

17 years agoThe mob has spoken: PQescapeStringConn is used for pgsql >= 8.1.4
peavey [Sat, 27 Jan 2007 14:25:51 +0000 (14:25 +0000)]
The mob has spoken: PQescapeStringConn is used for pgsql >= 8.1.4

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

17 years agoFix for bug #187
brain [Fri, 26 Jan 2007 17:17:24 +0000 (17:17 +0000)]
Fix for bug #187

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

17 years agoFor the filter GLINE action, ban *@IP, so that they cant change their ident and it...
brain [Thu, 25 Jan 2007 17:15:45 +0000 (17:15 +0000)]
For the filter GLINE action, ban *@IP, so that they cant change their ident and it'll still get unresolved hosts

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

17 years agoCut out some code duplication by using the existing exception framework in here,...
brain [Thu, 25 Jan 2007 01:26:21 +0000 (01:26 +0000)]
Cut out some code duplication by using the existing exception framework in here, and throw an exception if the user tries to change the servername at runtime
(this is currently the only value we dont allow changing at runtime, maybe there are more to be found which are obviously unsafe to change)

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

17 years agoThe /id command for nicks in atheme should have the parameters $2- not $2, because...
brain [Wed, 24 Jan 2007 17:51:42 +0000 (17:51 +0000)]
The /id command for nicks in atheme should have the parameters $2- not $2, because they accept /id nick pass

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

17 years agoAdd m_banredirect to example config
om [Wed, 24 Jan 2007 17:50:00 +0000 (17:50 +0000)]
Add m_banredirect to example config

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

17 years agoNo statserv, but we have gameserv
w00t [Wed, 24 Jan 2007 17:49:54 +0000 (17:49 +0000)]
No statserv, but we have gameserv

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

17 years agoExample aliases files.
brain [Wed, 24 Jan 2007 17:45:56 +0000 (17:45 +0000)]
Example aliases files.
Someone like w00t who has more knowledge of atheme should update atheme.conf.example, as theyre currently just a copy of the ones for ircservices right now. Theres a cookie in it for the first person
to make the atheme ones correct :p

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

17 years agoFix endless loop on dns hit.
peavey [Wed, 24 Jan 2007 01:31:19 +0000 (01:31 +0000)]
Fix endless loop on dns hit.

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

17 years agoFucking grr.
brain [Wed, 24 Jan 2007 00:15:36 +0000 (00:15 +0000)]
Fucking grr.

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

17 years agoRevert some stuff back to the old way
brain [Tue, 23 Jan 2007 23:58:13 +0000 (23:58 +0000)]
Revert some stuff back to the old way

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

17 years agoNote: ne is not eq.
brain [Tue, 23 Jan 2007 23:38:46 +0000 (23:38 +0000)]
Note: ne is not eq.

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

17 years agoMake our makefile bsd compatible again :/
brain [Tue, 23 Jan 2007 23:35:33 +0000 (23:35 +0000)]
Make our makefile bsd compatible again :/

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

17 years agoIntegrate OSX patches from BuildSmart, plus a few tweaks and fixes
brain [Tue, 23 Jan 2007 23:31:29 +0000 (23:31 +0000)]
Integrate OSX patches from BuildSmart, plus a few tweaks and fixes

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

17 years agoBack-out OSX patches till theyre completed, our stable tree is tied up with temporari...
brain [Tue, 23 Jan 2007 21:25:00 +0000 (21:25 +0000)]
Back-out OSX patches till theyre completed, our stable tree is tied up with temporarily broken code :p

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

17 years agoFirst part of OSX patches for 1.1 from BuildSmart
brain [Tue, 23 Jan 2007 18:03:56 +0000 (18:03 +0000)]
First part of OSX patches for 1.1 from BuildSmart

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

17 years agoTrivial fix, extra >s noted by owine
w00t [Mon, 22 Jan 2007 10:33:39 +0000 (10:33 +0000)]
Trivial fix, extra >s noted by owine

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

17 years agoAdd check for openssl >= 0.9.7, and fix for if the library cant be found at all
brain [Sun, 21 Jan 2007 16:29:48 +0000 (16:29 +0000)]
Add check for openssl >= 0.9.7, and fix for if the library cant be found at all

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

17 years agoWhoops put this back to 3.3
brain [Sun, 21 Jan 2007 16:25:48 +0000 (16:25 +0000)]
Whoops put this back to 3.3

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

17 years agoFix broken function vcheck() that checks one dot-delimited version string against...
brain [Sun, 21 Jan 2007 16:25:33 +0000 (16:25 +0000)]
Fix broken function vcheck() that checks one dot-delimited version string against another

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

17 years agoAdd extra macro pkgconfversion("packagename", "version");
brain [Sun, 21 Jan 2007 16:06:10 +0000 (16:06 +0000)]
Add extra macro pkgconfversion("packagename", "version");
dies if the version you specify isnt installed.
Also added to m_sqlite3:   pkgconfversion("sqlite3", "3.3")
Note: this will die at configuration time, not compilation time.

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

17 years agoKeep gcc from whining when there is NOT an error (see the comments added)
brain [Sun, 21 Jan 2007 13:33:24 +0000 (13:33 +0000)]
Keep gcc from whining when there is NOT an error (see the comments added)

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

17 years agoFix library detection flags (bad define put into the ldflags)
brain [Sun, 21 Jan 2007 12:30:21 +0000 (12:30 +0000)]
Fix library detection flags (bad define put into the ldflags)
Change default flags from "-g" to "-O2 -g1". This takes us down from a build size of 350mb+ to 35mb, and still gives us the ability to backtrace! :)

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

17 years agoNote that we dont allow upgrades to version 3 of GPL, just to re-iterate.
brain [Sun, 21 Jan 2007 01:24:28 +0000 (01:24 +0000)]
Note that we dont allow upgrades to version 3 of GPL, just to re-iterate.

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

17 years agoFix bad duplication of filters containing spaces across the network.
brain [Sat, 20 Jan 2007 23:48:24 +0000 (23:48 +0000)]
Fix bad duplication of filters containing spaces across the network.
(filters containing spaces arent strictly allowed because they cant be defined via the /filter command, however we do define them in the config on chatspike so its worth supporting them.
This will now translate space to \7 in the metadata, and translate it back at the receiving end.

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

17 years agoFixed (rewrote) m_http_client's URL parsing, it is now more flexible and.. actually...
special [Sat, 20 Jan 2007 23:34:42 +0000 (23:34 +0000)]
Fixed (rewrote) m_http_client's URL parsing, it is now more flexible and.. actually works.

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

17 years agoFix the commandline stuff up to actually work!
brain [Sat, 20 Jan 2007 22:49:54 +0000 (22:49 +0000)]
Fix the commandline stuff up to actually work!
Also, fix 'locate' detection of files when pkg-config cant find them.

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

17 years agoIf we're not in interactive mode, then we dont prompt interactively for the value.
brain [Sat, 20 Jan 2007 22:33:55 +0000 (22:33 +0000)]
If we're not in interactive mode, then we dont prompt interactively for the value.
We look for the configuration item in the commandline, --$package-includes="" or --$package-libs="" and use that.
If its not defined, we die() with a message to specify the path using that commandline item. This also applies to ./configure -modupdate.

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

17 years agoAdditional feature, pass -DVERSION_PKGCONFMODNAME="xxx" to modules that use the pkgco...
brain [Sat, 20 Jan 2007 22:18:50 +0000 (22:18 +0000)]
Additional feature, pass -DVERSION_PKGCONFMODNAME="xxx" to modules that use the pkgconfig detection macros (the modules can use this if they like)
Extra tweak/fix: Allow for configure cache values containing the = symbol

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

17 years agoAnd fix it so it works
brain [Sat, 20 Jan 2007 22:05:11 +0000 (22:05 +0000)]
And fix it so it works

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

17 years agoBetter detection
brain [Sat, 20 Jan 2007 22:03:42 +0000 (22:03 +0000)]
Better detection

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

17 years agoAdd caching of all detected values :)
brain [Sat, 20 Jan 2007 21:44:48 +0000 (21:44 +0000)]
Add caching of all detected values :)

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

17 years agoProritise cached value above a search
brain [Sat, 20 Jan 2007 21:42:57 +0000 (21:42 +0000)]
Proritise cached value above a search

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

17 years agoFixes to make ./configure prompt for libs if all else fails (discussed earlier with...
brain [Sat, 20 Jan 2007 21:41:29 +0000 (21:41 +0000)]
Fixes to make ./configure prompt for libs if all else fails (discussed earlier with w00t).
The values prompted for are cached, so if you specify them then ./configure -update wont prompt again for them

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

17 years agoFixing
brain [Sat, 20 Jan 2007 21:12:47 +0000 (21:12 +0000)]
Fixing

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

17 years agoApply fixes for buffering of headers, and a test module both by psychon
brain [Sat, 20 Jan 2007 20:56:59 +0000 (20:56 +0000)]
Apply fixes for buffering of headers, and a test module both by psychon

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

17 years ago1.1.0+SVN!
brain [Sat, 20 Jan 2007 17:12:38 +0000 (17:12 +0000)]
1.1.0+SVN!

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

17 years agoBeta9+Finale!
brain [Sat, 20 Jan 2007 16:31:27 +0000 (16:31 +0000)]
Beta9+Finale!

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

17 years agoMøøses > Yøuses
om [Sat, 20 Jan 2007 16:13:07 +0000 (16:13 +0000)]
Møøses > Yøuses

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

17 years agoBetter way even than suggested.
brain [Sat, 20 Jan 2007 16:07:02 +0000 (16:07 +0000)]
Better way even than suggested.
We need one counter, nonlistmodes_found, and start with it at 0. In the while loop, if we find any modes that arent of list mode type we inc the counter,
and if the counter is zero after the end of the loop, we can just return (we processed everything already and nothing is left)

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

17 years agoNow wont even try to read an empty file
brain [Sat, 20 Jan 2007 15:57:11 +0000 (15:57 +0000)]
Now wont even try to read an empty file

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

17 years agoFix for NthDegree, thanks for the info :)
brain [Fri, 19 Jan 2007 23:34:14 +0000 (23:34 +0000)]
Fix for NthDegree, thanks for the info :)

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

17 years agoFix dependencies
brain [Fri, 19 Jan 2007 18:03:10 +0000 (18:03 +0000)]
Fix dependencies

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

17 years agoAs suggested (and coded) by w00t, show * as the nick when we havent set one yet
brain [Fri, 19 Jan 2007 17:58:10 +0000 (17:58 +0000)]
As suggested (and coded) by w00t, show * as the nick when we havent set one yet

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