]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
danieldg [Fri, 21 Aug 2009 19:57:57 +0000 (19:57 +0000)]
Config patch from jdhore: identify modules in example config that are not suitable for most networks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11537
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Fri, 21 Aug 2009 16:33:04 +0000 (16:33 +0000)]
Add contents of LDFLAGS in addition to CXXFLAGS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11536
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 20 Aug 2009 15:55:32 +0000 (15:55 +0000)]
Allow relative and absolute paths to work (without magic) with pidfile.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11535
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Thu, 20 Aug 2009 13:40:35 +0000 (13:40 +0000)]
Fix access-after-free on rehash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11534
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 19 Aug 2009 15:09:27 +0000 (15:09 +0000)]
Fix a regression from
fcb51634669e6ed588e42f2072c6f910e267126f ("fix uid collision on spanningtree reload") caused by access-after-free.
Thanks to transnet for the report.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11533
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Mon, 17 Aug 2009 22:27:25 +0000 (22:27 +0000)]
Update .gitignore to ignore .modulemanager (and cleanup)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11532
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Mon, 17 Aug 2009 15:09:46 +0000 (15:09 +0000)]
Allow forward linking compatability by accepting higher protocol version numbers (other server should fail the link if it becomes link-incompatable)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11531
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 16 Aug 2009 01:17:09 +0000 (01:17 +0000)]
cgiirc: Pass hosts to WEBIRC command on rehash. No fucking wonder this never worked except on module load. _ARGH_. Thanks to Jeremy for his help in tracking this down.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11528
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 15 Aug 2009 13:52:53 +0000 (13:52 +0000)]
Partial revert of
1fb8a3f1b120db764375911be9ad8019a807a8ad by dKingston, (adding RPL_NOTOPICSET).
This is *not* defined as a return for JOIN message, and it's a bit annoying too. Keep the define and use it in TOPIC instead of '331' though.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11527
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 15 Aug 2009 11:45:07 +0000 (11:45 +0000)]
vs2010 projects too.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11526
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 15 Aug 2009 11:38:14 +0000 (11:38 +0000)]
win: Add vs2010 SLN.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11525
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 15 Aug 2009 11:32:49 +0000 (11:32 +0000)]
win: Last part of support required for VS2010:
NEEDS COMPILE TESTING ON: gcc3 (if possible), gcc4, vs2008.
- Check for vs2010 in hash_map.h
- use unordered_map if it exists
- change all map creations to:
#if defined(WINDOWS) && !defined(HASHMAP_DEPRECATED)
// old windows crap
#else
#if HASHMAP_DEPRECATED
// tr1/gcc crap
#endif
#endif
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11524
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 15 Aug 2009 11:27:13 +0000 (11:27 +0000)]
Bump version to rc5.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11522
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 15 Aug 2009 05:16:26 +0000 (05:16 +0000)]
win: vs2010 requires this to link in process memory retrieval stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11521
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 15 Aug 2009 05:02:29 +0000 (05:02 +0000)]
win: don't define error constants on VS2009, they're defined for us (finally)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11520
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Fri, 14 Aug 2009 22:02:01 +0000 (22:02 +0000)]
Fix a compile error for IPv6 windows builds, discovered by Flo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11519
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 14 Aug 2009 20:43:46 +0000 (20:43 +0000)]
Make ident handling consistant: use ChangeIdent for all ident manipulation. This fixes cache bugs properly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11518
e03df62e -2008-0410-955e-
edbf42e46eb7
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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