]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
14 years agoExclude modules from build on release mode too.
peavey [Mon, 31 Aug 2009 23:47:03 +0000 (23:47 +0000)]
Exclude modules from build on release mode too.

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

14 years agoBump out of RC
w00t [Sat, 29 Aug 2009 15:06:11 +0000 (15:06 +0000)]
Bump out of RC

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

14 years agoStop a potential null pointer dereference introduced by Namegduf's patch, found by...
w00t [Fri, 28 Aug 2009 20:30:25 +0000 (20:30 +0000)]
Stop a potential null pointer dereference introduced by Namegduf's patch, found by Dessa/Kuja for finding this, and to danieldg, Special, Namegduf and psychon for their input.

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

14 years agoFix a really minor spelling error in make/configure.pm
psychon [Fri, 28 Aug 2009 20:16:38 +0000 (20:16 +0000)]
Fix a really minor spelling error in make/configure.pm

Thanks to Kuja aka Dessa for reporting this.

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

14 years agoUpdated helpop files from Namegduf. Also thanks to Taros and Kazuma for their help.
w00t [Fri, 28 Aug 2009 17:09:52 +0000 (17:09 +0000)]
Updated helpop files from Namegduf. Also thanks to Taros and Kazuma for their help.

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

14 years agoPatch from Namegduf to use OnUserMessage instead of OnUserPreMessage, and correctly...
w00t [Fri, 28 Aug 2009 17:07:21 +0000 (17:07 +0000)]
Patch from Namegduf to use OnUserMessage instead of OnUserPreMessage, and correctly prioritize events to fix channel aliases arriving after the effects of the alias.

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

14 years agoDon't subtract one from MAXCHANNELS, it's a number, not a string length.
w00t [Fri, 28 Aug 2009 08:56:41 +0000 (08:56 +0000)]
Don't subtract one from MAXCHANNELS, it's a number, not a string length.
Reported by Sm0ke0ut.

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

14 years agooverride: pass handling back to the core to send numerics if join restrictions apply...
w00t [Thu, 27 Aug 2009 10:38:26 +0000 (10:38 +0000)]
override: pass handling back to the core to send numerics if join restrictions apply. Thanks to webczat for (eventually) being able to communicate what the problem was.

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

14 years agoOf course, in adding yet more header madness to this for VS2010, I forgot to keep...
w00t [Wed, 26 Aug 2009 17:57:44 +0000 (17:57 +0000)]
Of course, in adding yet more header madness to this for VS2010, I forgot to keep the old hash_map include for windows.

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

14 years agoSmall example config changes; patch by jdhore
special [Mon, 24 Aug 2009 02:41:34 +0000 (02:41 +0000)]
Small example config changes; patch by jdhore

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

14 years agoConfig patch from jdhore: identify modules in example config that are not suitable...
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

14 years agoAdd contents of LDFLAGS in addition to CXXFLAGS
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

14 years agoAllow relative and absolute paths to work (without magic) with pidfile.
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

14 years agoFix access-after-free on rehash
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

14 years agoFix a regression from fcb51634669e6ed588e42f2072c6f910e267126f ("fix uid collision...
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

14 years agoUpdate .gitignore to ignore .modulemanager (and cleanup)
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

14 years agoAllow forward linking compatability by accepting higher protocol version numbers...
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

14 years agocgiirc: Pass hosts to WEBIRC command on rehash. No fucking wonder this never worked...
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

14 years agoPartial revert of 1fb8a3f1b120db764375911be9ad8019a807a8ad by dKingston, (adding...
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

14 years agovs2010 projects too.
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

14 years agowin: Add vs2010 SLN.
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

14 years agowin: Last part of support required for VS2010:
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

14 years agoBump version to rc5.
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

14 years agowin: vs2010 requires this to link in process memory retrieval stuff
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

14 years agowin: don't define error constants on VS2009, they're defined for us (finally)
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

14 years agoFix a compile error for IPv6 windows builds, discovered by Flo
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

14 years agoMake ident handling consistant: use ChangeIdent for all ident manipulation. This...
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

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

14 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