]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
14 years agoPrint line on empty prefix errors to track down a bug
w00t [Fri, 14 Aug 2009 20:10:36 +0000 (20:10 +0000)]
Print line on empty prefix errors to track down a bug

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

14 years agoSet log to null on close and check for null loghandle on FileWriter::WriteLogLine.
w00t [Fri, 14 Aug 2009 20:06:42 +0000 (20:06 +0000)]
Set log to null on close and check for null loghandle on FileWriter::WriteLogLine.

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

14 years agoRun modulemanager upgrade to check for updates to third party (and extras) modules...
w00t [Fri, 14 Aug 2009 19:51:09 +0000 (19:51 +0000)]
Run modulemanager upgrade to check for updates to third party (and extras) modules on reconfigure.

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

14 years ago(Hopefully) fix a issue with m_ident's result not being used for display.
psychon [Fri, 14 Aug 2009 19:50:53 +0000 (19:50 +0000)]
(Hopefully) fix a issue with m_ident's result not being used for display.

The user class has a couple of caches for the user's hostmask. If one of those
caches is initialized before m_ident set the user's new ident it would stick
around until the cache was invalidated the next time. This patch fixes this by
using the proper API for setting a user's ident which also invalidates any
caches which might still have the old ident.

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

14 years agoRegenerate modules makefile if installing or uninstalling extras modules.
w00t [Fri, 14 Aug 2009 19:45:30 +0000 (19:45 +0000)]
Regenerate modules makefile if installing or uninstalling extras modules.

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

14 years agoRemove some very verbose debug that isn't really needed anymore
w00t [Fri, 14 Aug 2009 15:08:58 +0000 (15:08 +0000)]
Remove some very verbose debug that isn't really needed anymore

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

14 years agoApply fake lag on garbage input to discourage crap
w00t [Fri, 14 Aug 2009 15:08:15 +0000 (15:08 +0000)]
Apply fake lag on garbage input to discourage crap

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

14 years agoMerge patch from dKingston for missing TOPIC numeric, also replace the literal 331...
brain [Thu, 13 Aug 2009 22:44:07 +0000 (22:44 +0000)]
Merge patch from dKingston for missing TOPIC numeric, also replace the literal 331 with an RPL_* enum value, thanks!

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

14 years agoPoint out that the dns server must be an ip, not a host
brain [Wed, 12 Aug 2009 23:27:49 +0000 (23:27 +0000)]
Point out that the dns server must be an ip, not a host

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

14 years agoFix printf format warning
danieldg [Wed, 12 Aug 2009 21:46:21 +0000 (21:46 +0000)]
Fix printf format warning

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

14 years agoComment out <dns:server> by default, and explain why.
w00t [Wed, 12 Aug 2009 20:34:27 +0000 (20:34 +0000)]
Comment out <dns:server> by default, and explain why.

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

14 years agoChange to using read/write not send/recv on the ThreadSignalSocket pipe
danieldg [Wed, 12 Aug 2009 19:56:43 +0000 (19:56 +0000)]
Change to using read/write not send/recv on the ThreadSignalSocket pipe

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

14 years agoMake rehash work more than once per run, and fix some uninitialized values in connect...
danieldg [Wed, 12 Aug 2009 19:38:48 +0000 (19:38 +0000)]
Make rehash work more than once per run, and fix some uninitialized values in connect classes

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

14 years agoFixes for config reader
danieldg [Wed, 12 Aug 2009 18:03:52 +0000 (18:03 +0000)]
Fixes for config reader

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

14 years agoExtra bracket on regex go away
w00t [Tue, 11 Aug 2009 21:01:53 +0000 (21:01 +0000)]
Extra bracket on regex go away

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

14 years agoFix module prioritization when a module asks to be after spanningtree, which asks...
danieldg [Tue, 11 Aug 2009 20:41:04 +0000 (20:41 +0000)]
Fix module prioritization when a module asks to be after spanningtree, which asks to be last

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

14 years agoFix double-free in ~SocketThread
danieldg [Tue, 11 Aug 2009 20:40:57 +0000 (20:40 +0000)]
Fix double-free in ~SocketThread

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

14 years agoFix thread join not working for subclasses of Thread because of C++ destructor ordering
danieldg [Mon, 10 Aug 2009 19:55:07 +0000 (19:55 +0000)]
Fix thread join not working for subclasses of Thread because of C++ destructor ordering

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

14 years agoReport the correct sizes as set in the config
brain [Thu, 6 Aug 2009 17:29:10 +0000 (17:29 +0000)]
Report the correct sizes as set in the config

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

14 years agoFirst space stream seperator test.
w00t [Thu, 6 Aug 2009 15:09:22 +0000 (15:09 +0000)]
First space stream seperator test.

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

14 years agoAdd commasepstream test case.
w00t [Thu, 6 Aug 2009 14:45:05 +0000 (14:45 +0000)]
Add commasepstream test case.

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

14 years agoDon't catch and rethrow, as with the mutexing here removed it's no longer required...
w00t [Wed, 5 Aug 2009 12:31:25 +0000 (12:31 +0000)]
Don't catch and rethrow, as with the mutexing here removed it's no longer required. Thanks Special for noticing.
This rethrow was also not best-practice, 'throw;' is the recommended C++ way to rethrow an exception.

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

14 years agoHow about we abort if there were errors, not if there weren't any? Great idea...
danieldg [Wed, 5 Aug 2009 00:31:29 +0000 (00:31 +0000)]
How about we abort if there were errors, not if there weren't any? Great idea...

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

14 years agoFix config errors being detected even if there were none
danieldg [Wed, 5 Aug 2009 00:16:28 +0000 (00:16 +0000)]
Fix config errors being detected even if there were none

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

14 years agoWrite .modulemanager after everything has finished, not in a loop.
w00t [Tue, 4 Aug 2009 22:10:21 +0000 (22:10 +0000)]
Write .modulemanager after everything has finished, not in a loop.

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

14 years agoDependancies need string version support too.
w00t [Tue, 4 Aug 2009 22:10:18 +0000 (22:10 +0000)]
Dependancies need string version support too.

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

14 years agoProvide some kind of output so it doesn't look like it's doing nothing
w00t [Tue, 4 Aug 2009 21:49:39 +0000 (21:49 +0000)]
Provide some kind of output so it doesn't look like it's doing nothing

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

14 years agoTrack installed module versions, so we can do upgrades properly.
w00t [Tue, 4 Aug 2009 21:49:35 +0000 (21:49 +0000)]
Track installed module versions, so we can do upgrades properly.

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

14 years agoAllow for string comparison of git IDs.
w00t [Tue, 4 Aug 2009 19:55:26 +0000 (19:55 +0000)]
Allow for string comparison of git IDs.

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

14 years agoUse string versions in "module" line instead of numerical versions.
w00t [Tue, 4 Aug 2009 19:55:23 +0000 (19:55 +0000)]
Use string versions in "module" line instead of numerical versions.

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

14 years agoExit if there were errors reading configuration on startup.
w00t [Tue, 4 Aug 2009 16:09:30 +0000 (16:09 +0000)]
Exit if there were errors reading configuration on startup.

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

14 years agoApparantly modulemanager can't handle empty lines.
w00t [Tue, 4 Aug 2009 09:46:42 +0000 (09:46 +0000)]
Apparantly modulemanager can't handle empty lines.

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

14 years agoMissed removing m_testcommand.
peavey [Tue, 4 Aug 2009 01:00:57 +0000 (01:00 +0000)]
Missed removing m_testcommand.

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

14 years agoUpdates for added/removed files.
peavey [Tue, 4 Aug 2009 00:58:16 +0000 (00:58 +0000)]
Updates for added/removed files.

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

14 years agoRemove m_testcommand too
w00t [Tue, 4 Aug 2009 00:19:03 +0000 (00:19 +0000)]
Remove m_testcommand too

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

14 years agoFix non-interactive configure asking SSL certificate generation question, patch from...
danieldg [Tue, 4 Aug 2009 00:03:44 +0000 (00:03 +0000)]
Fix non-interactive configure asking SSL certificate generation question, patch from satmd

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

14 years agoHooray unused variables. Thanks MSVC.
w00t [Mon, 3 Aug 2009 22:47:39 +0000 (22:47 +0000)]
Hooray unused variables. Thanks MSVC.

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

14 years agoNow that the official repository is on gitorious, remove my redundant repository
danieldg [Mon, 3 Aug 2009 22:44:27 +0000 (22:44 +0000)]
Now that the official repository is on gitorious, remove my redundant repository

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

14 years agoChange link of official third party repo to point to gitorious repo.
w00t [Mon, 3 Aug 2009 22:00:53 +0000 (22:00 +0000)]
Change link of official third party repo to point to gitorious repo.
This isn't quite working yet, but it will be shortly.

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

14 years agoComment on what looks like incorrect behaviour in User::Oper().
w00t [Mon, 3 Aug 2009 21:44:12 +0000 (21:44 +0000)]
Comment on what looks like incorrect behaviour in User::Oper().

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

14 years agoRevert "Don't do all the oper gubbins if the opertype doesn't exist. I've absolutely...
w00t [Mon, 3 Aug 2009 21:44:10 +0000 (21:44 +0000)]
Revert "Don't do all the oper gubbins if the opertype doesn't exist. I've absolutely no idea why we did this before but it's definitely not good."

This reverts commit d8ee5433eab5c67e9094d9114e3696728f1cab2a.

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

14 years agoRevert "Find the right variable so it actually works, too."
w00t [Mon, 3 Aug 2009 21:44:07 +0000 (21:44 +0000)]
Revert "Find the right variable so it actually works, too."

This reverts commit a245aa22076e17e72c84e5a0f5699209cdf62727.

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

14 years agoFind the right variable so it actually works, too.
w00t [Mon, 3 Aug 2009 21:19:03 +0000 (21:19 +0000)]
Find the right variable so it actually works, too.

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

14 years agoDon't do all the oper gubbins if the opertype doesn't exist. I've absolutely no idea...
w00t [Mon, 3 Aug 2009 21:11:46 +0000 (21:11 +0000)]
Don't do all the oper gubbins if the opertype doesn't exist. I've absolutely no idea why we did this before but it's definitely not good.

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

14 years agoRemove m_foobar. This has no practical purpose, except as a module basis,
w00t [Mon, 3 Aug 2009 21:00:19 +0000 (21:00 +0000)]
Remove m_foobar. This has no practical purpose, except as a module basis,
and nowdays we have plenty of others that can serve for that. Rest in peace.

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

14 years agoFix types on Windows. Hooray for not supporting stdint.h. Thanks to Special.
w00t [Mon, 3 Aug 2009 17:42:26 +0000 (17:42 +0000)]
Fix types on Windows. Hooray for not supporting stdint.h. Thanks to Special.

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

14 years agoChange default connect timeouts to 10. There's really no need to have anything higher...
w00t [Mon, 3 Aug 2009 15:52:24 +0000 (15:52 +0000)]
Change default connect timeouts to 10. There's really no need to have anything higher than this by default (except for developers, but surely they're capable of changing a default.)

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

14 years agoPurely a documentation fix: PRIO_AFTER doesn't exist any more, it's PRIORITY_AFTER.
w00t [Mon, 3 Aug 2009 14:00:15 +0000 (14:00 +0000)]
Purely a documentation fix: PRIO_AFTER doesn't exist any more,  it's PRIORITY_AFTER.

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

14 years agoWe dont support these compilers any more
brain [Sun, 2 Aug 2009 23:29:54 +0000 (23:29 +0000)]
We dont support these compilers any more

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

14 years agoI am sure i deleted these before
brain [Sun, 2 Aug 2009 23:29:08 +0000 (23:29 +0000)]
I am sure i deleted these before

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

14 years agoFix our getops implementation on windows. Have optind available, and make sure it...
peavey [Sun, 2 Aug 2009 22:36:45 +0000 (22:36 +0000)]
Fix our getops implementation on windows. Have optind available, and make sure it always points to the next entry in the argv list as described by POSIX.

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

14 years agoMake sure usage lines up neatly.
peavey [Sun, 2 Aug 2009 22:23:46 +0000 (22:23 +0000)]
Make sure usage lines up neatly.

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

14 years agoFix a few typos in here so it compiles again.
peavey [Sun, 2 Aug 2009 22:23:45 +0000 (22:23 +0000)]
Fix a few typos in here so it compiles again.

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

14 years agoTrivial commit to add .gitignore to ..gitignore!
w00t [Sun, 2 Aug 2009 22:15:29 +0000 (22:15 +0000)]
Trivial commit to add .gitignore to ..gitignore!
(And test multiline commits.)

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

14 years agoChange all non-fatal GNUTLS initialisation notices to debug level, to avoid unnecessa...
w00t [Sun, 2 Aug 2009 19:29:24 +0000 (19:29 +0000)]
Change all non-fatal GNUTLS initialisation notices to debug level, to avoid unnecessary questions.

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

14 years agoForget to remove a #endif
peavey [Sun, 2 Aug 2009 18:13:08 +0000 (18:13 +0000)]
Forget to remove a #endif

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

14 years agoNo forget using windows' broken inet_pton and inet_ntop, they are not POSIX compliant...
peavey [Sun, 2 Aug 2009 18:08:49 +0000 (18:08 +0000)]
No forget using windows' broken inet_pton and inet_ntop, they are not POSIX compliant and just causes more compile errors. We use our own, period.

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

14 years agoSince Windows SDK6.0a inet_pton and inet_ntop is defined if (NTDDI_VERSION >= NTDDI_L...
peavey [Sun, 2 Aug 2009 17:42:31 +0000 (17:42 +0000)]
Since Windows SDK6.0a inet_pton and inet_ntop is defined if (NTDDI_VERSION >= NTDDI_LONGHORN). I found a similar fix in pythons socketcode and thus think this is fine.

Fixes the breakage Brain mentions in r11407.

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

14 years agoPush SVN ignores to .gitignore, so I can stop going insane.
w00t [Sun, 2 Aug 2009 16:04:10 +0000 (16:04 +0000)]
Push SVN ignores to .gitignore, so I can stop going insane.

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

14 years agoFix a missed reference
w00t [Sun, 2 Aug 2009 15:05:06 +0000 (15:05 +0000)]
Fix a missed reference

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

14 years agoBump version number to rc4
w00t [Sun, 2 Aug 2009 14:08:49 +0000 (14:08 +0000)]
Bump version number to rc4

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

14 years agoPatch to not increment nickchange counter for nick changes that would be blocked...
w00t [Sun, 2 Aug 2009 14:02:25 +0000 (14:02 +0000)]
Patch to not increment nickchange counter for nick changes that would be blocked elsewhere, fixes bug #874. Patch by dz, but he was too slow to commit it :p

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

14 years agoDon't apply bans to E:Lined connections. Should fix bug #896.
w00t [Sat, 1 Aug 2009 22:16:58 +0000 (22:16 +0000)]
Don't apply bans to E:Lined connections. Should fix bug #896.

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

14 years agoShow config warnings/errors regardless of loglevel on startup.
w00t [Sat, 1 Aug 2009 22:02:57 +0000 (22:02 +0000)]
Show config warnings/errors regardless of loglevel on startup.

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

14 years agoVarious rehash fixes that it seems were introduced by untested code.
w00t [Sat, 1 Aug 2009 21:58:17 +0000 (21:58 +0000)]
Various rehash fixes that it seems were introduced by untested code.
- Remove unused ReportConfigError member
- Don't report successful load (and spam modules that failed to load) if there is a config error
- Restore server name before attempting to send error string to client(s) otherwise most of them won't recieve the notifications.
Fixes bug #891. Still to come: report errors loudly on startup regardless of debug mode.

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

14 years agoCheck that the <connect> block actually specifies a host before checking whether...
w00t [Sat, 1 Aug 2009 21:22:50 +0000 (21:22 +0000)]
Check that the <connect> block actually specifies a host before checking whether the user matches it. Allows for <connect> blocks on other criteria, like ports - fixes bug #797.

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

14 years agoReconnect to LDAP server if connection goes away, fixes bug #818.
w00t [Sat, 1 Aug 2009 21:05:06 +0000 (21:05 +0000)]
Reconnect to LDAP server if connection goes away, fixes bug #818.
NOTE: I don't have an LDAP setup, so I'm totally in the blind on these commits.
Sorry, but it seems nobody else can be arsed to do it, so I will.

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

14 years agoRehash message fixes from Ankit, thanks
danieldg [Fri, 31 Jul 2009 21:59:31 +0000 (21:59 +0000)]
Rehash message fixes from Ankit, thanks

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

14 years agoSend a failure numeric instead of QuitUser when STARTTLS is used after registration...
special [Mon, 27 Jul 2009 02:08:17 +0000 (02:08 +0000)]
Send a failure numeric instead of QuitUser when STARTTLS is used after registration, because it could be used accidentally by users. Suggested by dKingston

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

14 years agodon't send out global snotices from every server on NICKUNLOCK, fixes bug #892 report...
dz [Sun, 26 Jul 2009 11:26:34 +0000 (11:26 +0000)]
don't send out global snotices from every server on NICKUNLOCK, fixes bug #892 reported by Taros

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

14 years agoUse correct behavior (as per C++) for 'delete NULL' on windows; found by Adam and...
special [Sun, 19 Jul 2009 07:27:30 +0000 (07:27 +0000)]
Use correct behavior (as per C++) for 'delete NULL' on windows; found by Adam and CyberBotX

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

15 years agoRemove bad check for channel op in m_auditorium, fixes bug #886
danieldg [Tue, 7 Jul 2009 04:06:09 +0000 (04:06 +0000)]
Remove bad check for channel op in m_auditorium, fixes bug #886

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

15 years agoRemove m_ssl_oper_cert and clarify how to use it in m_sslinfo. Patch by jdhore.
peavey [Sat, 4 Jul 2009 23:32:01 +0000 (23:32 +0000)]
Remove m_ssl_oper_cert and clarify how to use it in m_sslinfo. Patch by jdhore.

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

15 years agoFix possible segfault on giving an unknown cmdline argument. index holds the ref...
peavey [Sat, 4 Jul 2009 21:31:40 +0000 (21:31 +0000)]
Fix possible segfault on giving an unknown cmdline argument. index holds the ref to the longopts array if found else it is NULL. optind however holds the next argv to be processed thus optind-1 is the correct index value to use.

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

15 years agoUse server name for source of remote TIME rather than SID
danieldg [Fri, 3 Jul 2009 22:09:36 +0000 (22:09 +0000)]
Use server name for source of remote TIME rather than SID

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

15 years agoFix m_callerid message routing for remote users, destination got no notice of attempt...
danieldg [Fri, 3 Jul 2009 21:00:42 +0000 (21:00 +0000)]
Fix m_callerid message routing for remote users, destination got no notice of attempted message

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

15 years agoAsk the user if they want to generate SSL certificates before generating one
danieldg [Fri, 3 Jul 2009 19:28:07 +0000 (19:28 +0000)]
Ask the user if they want to generate SSL certificates before generating one

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

15 years agoFix symlink creation of openssl if both it and gnutls are selected
danieldg [Fri, 3 Jul 2009 17:55:01 +0000 (17:55 +0000)]
Fix symlink creation of openssl if both it and gnutls are selected

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

15 years agoFix excessive snomask sending on fitler add/removal
danieldg [Fri, 3 Jul 2009 14:07:24 +0000 (14:07 +0000)]
Fix excessive snomask sending on fitler add/removal

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

15 years agoFix double-send of SSL metadata in openssl, possible segfault in gnutls
danieldg [Fri, 3 Jul 2009 12:49:01 +0000 (12:49 +0000)]
Fix double-send of SSL metadata in openssl, possible segfault in gnutls

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

15 years agoUpdates to example configuration [by jdhore]
danieldg [Thu, 2 Jul 2009 19:58:43 +0000 (19:58 +0000)]
Updates to example configuration [by jdhore]

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

15 years agoMerge m_ssl_oper_cert into m_sslinfo to reduce the number of SSL modules
danieldg [Thu, 2 Jul 2009 18:17:47 +0000 (18:17 +0000)]
Merge m_ssl_oper_cert into m_sslinfo to reduce the number of SSL modules

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

15 years agoMerge m_ssl_data with m_ssinfo to reduce the number of SSL modules
danieldg [Thu, 2 Jul 2009 18:17:40 +0000 (18:17 +0000)]
Merge m_ssl_data with m_ssinfo to reduce the number of SSL modules

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

15 years agoSend ssl_cert metadata on signon
danieldg [Thu, 2 Jul 2009 18:17:33 +0000 (18:17 +0000)]
Send ssl_cert metadata on signon

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

15 years agoRemove memory-wasting map in ssl_cert
danieldg [Thu, 2 Jul 2009 18:17:26 +0000 (18:17 +0000)]
Remove memory-wasting map in ssl_cert

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

15 years agoMigrate SSL metadata and visible information (/whois line) to single module
danieldg [Thu, 2 Jul 2009 18:17:19 +0000 (18:17 +0000)]
Migrate SSL metadata and visible information (/whois line) to single module

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

15 years agoFix backport compile error: m_ssl_* uses ServerInstance->Config->ports which is now...
danieldg [Thu, 2 Jul 2009 16:56:53 +0000 (16:56 +0000)]
Fix backport compile error: m_ssl_* uses ServerInstance->Config->ports which is now ServerInstance->ports

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

15 years agoFix error reporting on rehash
danieldg [Wed, 1 Jul 2009 22:55:54 +0000 (22:55 +0000)]
Fix error reporting on rehash

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

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