]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
16 years agoRemove SpanningTreeProtocolInterface::SendOperNotice - it was translated to a SendSNO...
w00t [Thu, 17 Apr 2008 14:01:12 +0000 (14:01 +0000)]
Remove SpanningTreeProtocolInterface::SendOperNotice - it was translated to a SendSNONotice 'A' anyway, and only used by SAMODE, which duplicated it with a SendSNONotice 'A' also anyhow o.o - this means OPERNOTICE is now gone from protocol 1200, and SNONOTICE should be used instead.

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

16 years agoFix format fuckup I introduced (that warning shows one example of when it's useful...
w00t [Thu, 17 Apr 2008 13:41:16 +0000 (13:41 +0000)]
Fix format fuckup I introduced (that warning shows one example of when it's useful here)

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

16 years agoRemove completed XXX: override is now only checked locally, snotices are automaticall...
w00t [Thu, 17 Apr 2008 12:10:59 +0000 (12:10 +0000)]
Remove completed XXX: override is now only checked locally, snotices are automatically broadcast globally, and all is well in the universe once more.

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

16 years agoAdd potential for local-only snotices and use them for the ones that should be local...
w00t [Thu, 17 Apr 2008 12:09:15 +0000 (12:09 +0000)]
Add potential for local-only snotices and use them for the ones that should be local. Individual messages cannot be made local-only, but I can't think of circumstances where this is necessary. Let's write it when it *is* necessary. :)

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

16 years agoRemove use of SendSNONotice to send to remote servers, this is done automagically now
w00t [Thu, 17 Apr 2008 12:00:09 +0000 (12:00 +0000)]
Remove use of SendSNONotice to send to remote servers, this is done automagically now

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

16 years agoRemove debug from snomask flushing, and send ALL snotices globally automagically...
w00t [Thu, 17 Apr 2008 11:58:31 +0000 (11:58 +0000)]
Remove debug from snomask flushing, and send ALL snotices globally automagically (this probably means that calling SendSNONotice calls can be removed from places where they were added individually. XXX this needs fixing in two places: some snomasks are entirely local (local connect/quit) and some individual snotices may wish to be local only (though I can't think of any right now)

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

16 years agom_override now has a 'requirekey' option, that requires a special key of 'override...
w00t [Thu, 17 Apr 2008 11:56:40 +0000 (11:56 +0000)]
m_override now has a 'requirekey' option, that requires a special key of 'override' before permitting operoverride to prevent accidental abuse, fixes bug #516 reported by Jason. This isn't quite complete.

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

16 years agoRevert back to /MT, this shit isnt working and its too late to think straight
brain [Wed, 16 Apr 2008 23:48:12 +0000 (23:48 +0000)]
Revert back to /MT, this shit isnt working and its too late to think straight

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

16 years ago/MT -> /MD
brain [Wed, 16 Apr 2008 23:00:08 +0000 (23:00 +0000)]
/MT -> /MD

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

16 years agoImplement our own dllmain. if this works and gets rid of error at 70 modules, i will...
brain [Wed, 16 Apr 2008 22:17:28 +0000 (22:17 +0000)]
Implement our own dllmain. if this works and gets rid of error at 70 modules, i will backport it

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

16 years agoRebase modules a meg higher than command objects so they dont collide
brain [Wed, 16 Apr 2008 21:35:37 +0000 (21:35 +0000)]
Rebase modules a meg higher than command objects so they dont collide

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

16 years agoAutomatic rebasing of load addresses for .so files on windows, thanks to GreenReaper...
brain [Wed, 16 Apr 2008 21:31:24 +0000 (21:31 +0000)]
Automatic rebasing of load addresses for .so files on windows, thanks to GreenReaper for the hints and tips

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

16 years agoChange warnings a bit
brain [Wed, 16 Apr 2008 20:08:11 +0000 (20:08 +0000)]
Change warnings a bit

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

16 years agoMaybe make this the right way around...
brain [Wed, 16 Apr 2008 00:49:35 +0000 (00:49 +0000)]
Maybe make this the right way around...

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

16 years agoChange that allows the m_override module to not announce a key override for a user...
brain [Wed, 16 Apr 2008 00:36:20 +0000 (00:36 +0000)]
Change that allows the m_override module to not announce a key override for a user that specified the right key

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

16 years agoahh shit, remove windows specific code i left laying around
brain [Tue, 15 Apr 2008 23:59:59 +0000 (23:59 +0000)]
ahh shit, remove windows specific code i left laying around

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

16 years agoFix the problems GreenReaper found with the windows select engine, this has never...
brain [Tue, 15 Apr 2008 23:56:38 +0000 (23:56 +0000)]
Fix the problems GreenReaper found with the windows select engine, this has never worked properly in trunk! -- This needs tidying up, its on my todo either tonight if im awake enough, or tomorrow evening

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

16 years agoFix obvious compile error (whoops)
brain [Tue, 15 Apr 2008 22:51:45 +0000 (22:51 +0000)]
Fix obvious compile error (whoops)

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

16 years agothe select socket engine went on the assumption that a socket may remove itself from...
brain [Tue, 15 Apr 2008 22:38:20 +0000 (22:38 +0000)]
the select socket engine went on the assumption that a socket may remove itself from the socket engine in the middle of the loop. Cull lists did away with this late 1.0, early 1.1, so there is now no need to keep this archaic system in here and we can halve the number of loops per cycle down to half what they used to be.

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

16 years agoFixes for ValidateHostname
peavey [Tue, 15 Apr 2008 01:58:49 +0000 (01:58 +0000)]
Fixes for ValidateHostname

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

16 years agoChain ValidateServerName onto ValidateHostname so that the servername gets hostname...
brain [Tue, 15 Apr 2008 01:37:12 +0000 (01:37 +0000)]
Chain ValidateServerName onto ValidateHostname so that the servername gets hostname validity checks (prevents servernames with spaces etc)

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

16 years agoDeprecate a few more config options.
peavey [Tue, 15 Apr 2008 01:30:35 +0000 (01:30 +0000)]
Deprecate a few more config options.

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

16 years agoNuke the ability to define <options:loglevel> from orbit :p
brain [Tue, 15 Apr 2008 01:15:09 +0000 (01:15 +0000)]
Nuke the ability to define <options:loglevel> from orbit :p

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

16 years agoSee configreader.cpp line 764 to see how to declare deprecated items. This is reasona...
brain [Tue, 15 Apr 2008 01:10:08 +0000 (01:10 +0000)]
See configreader.cpp line 764 to see how to declare deprecated items. This is reasonably well thought out so i see no issue with leaving items here a very long time :)

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

16 years agoMove options vlaues netbuffersize, maxwho, maxconn, softlimit, quietbursts, nouserdns...
brain [Mon, 14 Apr 2008 20:14:56 +0000 (20:14 +0000)]
Move options vlaues netbuffersize, maxwho, maxconn, softlimit, quietbursts, nouserdns into performance tag

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

16 years agoTRUNK CONFIG BREAKAGE WARNING: Move a bunch of options tag values into a new tag...
brain [Mon, 14 Apr 2008 19:57:11 +0000 (19:57 +0000)]
TRUNK CONFIG BREAKAGE WARNING: Move a bunch of options tag values into a new tag called 'security'. See example conf

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

16 years agoSet the required prefix for ops to @, thanks
brain [Mon, 14 Apr 2008 19:28:59 +0000 (19:28 +0000)]
Set the required prefix for ops to @, thanks

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

16 years agoend a sentence.
bricker [Mon, 14 Apr 2008 19:17:24 +0000 (19:17 +0000)]
end a sentence.

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

16 years agoremove "nicks" from SAMODE so people don't get confused
bricker [Mon, 14 Apr 2008 19:09:03 +0000 (19:09 +0000)]
remove "nicks" from SAMODE so people don't get confused

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

16 years agoyay 9500 is MINE
peavey [Sun, 13 Apr 2008 22:18:36 +0000 (22:18 +0000)]
yay 9500 is MINE

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

16 years agoHere too
w00t [Sun, 13 Apr 2008 22:17:32 +0000 (22:17 +0000)]
Here too

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

16 years agoBump date
w00t [Sun, 13 Apr 2008 22:17:15 +0000 (22:17 +0000)]
Bump date

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

16 years agorevert, proper fixed in 9495 by brain
peavey [Sun, 13 Apr 2008 22:02:43 +0000 (22:02 +0000)]
revert, proper fixed in 9495 by brain

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

16 years agofix so it actually loads.
peavey [Sun, 13 Apr 2008 21:59:52 +0000 (21:59 +0000)]
fix so it actually loads.

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

16 years agotrunk doesnt seem to like < and > in a quoted section, because someone REMOVED the...
brain [Sun, 13 Apr 2008 21:58:48 +0000 (21:58 +0000)]
trunk doesnt seem to like < and > in a quoted section, because someone REMOVED the if check by mistake!

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

16 years agoOnly restrict set with <class:usermodes/chanmodes>, not unset
brain [Sun, 13 Apr 2008 20:53:28 +0000 (20:53 +0000)]
Only restrict set with <class:usermodes/chanmodes>, not unset

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

16 years ago1.2.0a2+TexasLonghorn
brain [Sun, 13 Apr 2008 19:36:53 +0000 (19:36 +0000)]
1.2.0a2+TexasLonghorn

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

16 years agoMake run-cc handle containers of std::pair, and also filtering for std::{vector,strin...
aquanight [Sun, 13 Apr 2008 19:28:46 +0000 (19:28 +0000)]
Make run-cc handle containers of std::pair, and also filtering for std::{vector,string}::iterator

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

16 years agoRemove comments about coming up with a better way that has been come up with.
aquanight [Sun, 13 Apr 2008 18:27:36 +0000 (18:27 +0000)]
Remove comments about coming up with a better way that has been come up with.

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

16 years agoSane-ify the STL filtering and coloring in run-cc.
aquanight [Sun, 13 Apr 2008 18:26:18 +0000 (18:26 +0000)]
Sane-ify the STL filtering and coloring in run-cc.

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

16 years agoAdd newlines to the end :) (\n)
brain [Sun, 13 Apr 2008 18:17:35 +0000 (18:17 +0000)]
Add newlines to the end :) (\n)

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

16 years agoadd a hint to users for using an IP instead of *
bricker [Sun, 13 Apr 2008 18:16:45 +0000 (18:16 +0000)]
add a hint to users for using an IP instead of *

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

16 years agoCorrect indentation
brain [Sun, 13 Apr 2008 16:54:51 +0000 (16:54 +0000)]
Correct indentation

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

16 years agochar -> const char
w00t [Sun, 13 Apr 2008 16:45:32 +0000 (16:45 +0000)]
char -> const char

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

16 years agoCast these to shut up compiler
w00t [Sun, 13 Apr 2008 16:43:53 +0000 (16:43 +0000)]
Cast these to shut up compiler

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

16 years agoEliminate now-pointless label
brain [Sun, 13 Apr 2008 14:45:02 +0000 (14:45 +0000)]
Eliminate now-pointless label

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

16 years agoWhack code duplication
brain [Sun, 13 Apr 2008 14:35:51 +0000 (14:35 +0000)]
Whack code duplication

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

16 years agoWhack gotos here too
brain [Sun, 13 Apr 2008 14:34:12 +0000 (14:34 +0000)]
Whack gotos here too

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

16 years agoFix 4-space indents :<
brain [Sun, 13 Apr 2008 14:32:09 +0000 (14:32 +0000)]
Fix 4-space indents :<

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

16 years agoWindows fix
brain [Sun, 13 Apr 2008 09:47:45 +0000 (09:47 +0000)]
Windows fix

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

16 years agoPort a bunch of methods of InspIRCd to functors. IsChannel, IsSID, Rehash.
brain [Sun, 13 Apr 2008 03:28:56 +0000 (03:28 +0000)]
Port a bunch of methods of InspIRCd to functors. IsChannel, IsSID, Rehash.

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

16 years agoMapping for mkdir() to _mkdir() for windows
brain [Sat, 12 Apr 2008 17:57:53 +0000 (17:57 +0000)]
Mapping for mkdir() to _mkdir() for windows

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

16 years agoFixes for default log. It is now called ~/.inspircd/startup.log unless overridden...
brain [Sat, 12 Apr 2008 17:55:47 +0000 (17:55 +0000)]
Fixes for default log. It is now called ~/.inspircd/startup.log unless overridden by -logfile commandline param. The name of the log is more indicative of what it stores, and the location is more sane and fits in with standards.
If the home directory cant be found from either HOME or USERPROFILE env vars, then the startup.log is dumped to the current directory.
Removed -nolog from ./inspircd debug, antique setting.

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

16 years agoFixes for bug #515, update existing in-use connect tags on the fly in rehash
brain [Sat, 12 Apr 2008 17:01:36 +0000 (17:01 +0000)]
Fixes for bug #515, update existing in-use connect tags on the fly in rehash

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

16 years agoTrunk fix for bug #505 reported by nenolod
brain [Sat, 12 Apr 2008 15:48:01 +0000 (15:48 +0000)]
Trunk fix for bug #505 reported by nenolod

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

16 years agoIn visual studio, CRT crashes when strftime() is given an invalid format specifier...
brain [Sat, 12 Apr 2008 14:47:20 +0000 (14:47 +0000)]
In visual studio, CRT crashes when strftime() is given an invalid format specifier and %F/%T are not supported! -- reported along with stripcolor bug by jackmcbarn, thanks

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

16 years agoFix crash in m_stripcolor on windows when the colour code is the first item on a...
brain [Sat, 12 Apr 2008 14:21:15 +0000 (14:21 +0000)]
Fix crash in m_stripcolor on windows when the colour code is the first item on a line

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

16 years agoReplace here too
brain [Sat, 12 Apr 2008 13:20:38 +0000 (13:20 +0000)]
Replace here too

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

16 years ago(untested) don't move newconfig to ServerConfig::config_data until its been validated...
brain [Fri, 11 Apr 2008 23:55:10 +0000 (23:55 +0000)]
(untested) don't move newconfig to ServerConfig::config_data until its been validated by all the validation funcs in the core config table

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

16 years agoRemove 'default log' and <options:loglevel> (wtf?)
brain [Fri, 11 Apr 2008 23:27:27 +0000 (23:27 +0000)]
Remove 'default log' and <options:loglevel> (wtf?)

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

16 years agonuke loglevel from <options> description, and tidy some indenting.
peavey [Fri, 11 Apr 2008 23:12:57 +0000 (23:12 +0000)]
nuke loglevel from <options> description, and tidy some indenting.

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

16 years agoPatch from voidzero, bug #517
brain [Fri, 11 Apr 2008 20:54:15 +0000 (20:54 +0000)]
Patch from voidzero, bug #517

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

16 years agoFix sillies
brain [Fri, 11 Apr 2008 16:03:39 +0000 (16:03 +0000)]
Fix sillies

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

16 years agoPatch from Brain fixing broken stuff
w00t [Fri, 11 Apr 2008 14:27:26 +0000 (14:27 +0000)]
Patch from Brain fixing broken stuff

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

16 years agoMuch faster way of checking if the user is 4in6, avoid strncmp in User::GetIPString...
brain [Fri, 11 Apr 2008 00:03:03 +0000 (00:03 +0000)]
Much faster way of checking if the user is 4in6, avoid strncmp in User::GetIPString(), do it in User::SetSockAddr()

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

16 years agoProvide an optional param translate4in6 to User::GetIPString() and default it to...
brain [Thu, 10 Apr 2008 23:35:35 +0000 (23:35 +0000)]
Provide an optional param translate4in6 to User::GetIPString() and default it to true. This hides the 0::ffff: on all info about an ipv6 user connecting over ipv4, making glines on them and bans etc work better.
Certain parts such as dns lookup need to set this to false to determine wether to use ipv4 or ipv6 reverse lookup.

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

16 years agoFix for bug #503 reported by Stealth (at last)
brain [Thu, 10 Apr 2008 22:36:20 +0000 (22:36 +0000)]
Fix for bug #503 reported by Stealth (at last)

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

16 years agoAdd correct stuff so that /taxonomy can show the cloaked hosts for users in their...
brain [Thu, 10 Apr 2008 21:56:45 +0000 (21:56 +0000)]
Add correct stuff so that /taxonomy can show the cloaked hosts for users in their metadata

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

16 years agoCalculate hosts on connect so theres no way around a ban on your cloak, even if you...
brain [Thu, 10 Apr 2008 21:46:30 +0000 (21:46 +0000)]
Calculate hosts on connect so theres no way around a ban on your cloak, even if you never cloak yourself even once

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

16 years agoComment small API change (returning -1 from OnCheckBan to explicitly deny the ban)
brain [Thu, 10 Apr 2008 20:53:13 +0000 (20:53 +0000)]
Comment small API change (returning -1 from OnCheckBan to explicitly deny the ban)

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

16 years agoFix for bug #513
brain [Thu, 10 Apr 2008 20:48:46 +0000 (20:48 +0000)]
Fix for bug #513

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

16 years agoThis now passes all the RIPEMD160 test vectors and is a complete and usable module:
brain [Thu, 10 Apr 2008 16:31:02 +0000 (16:31 +0000)]
This now passes all the RIPEMD160 test vectors and is a complete and usable module:
[17:27] --- ripemd160 hashed password for a is 0bdc9d2d256b3ee9daae347be6f4dc835a467ffe
[17:27] --- ripemd160 hashed password for abc is 8eb208f7e05d987a9b044a8e98c6b087f15a0bfc
[17:27] --- ripemd160 hashed password for message is 1dddbe1bea18cfda41f3fa4e6e66dbbbab93774e
[17:27] --- ripemd160 hashed password for message digest is 5d0689ef49d2fae572b881b123a85ffa21595f36
[17:28] --- ripemd160 hashed password for abcdefghijklmnopqrstuvwxyz is f71c27109c692c1b56bbdceb5b9d2865b3708dbc
[17:28] --- ripemd160 hashed password for  is 9c1185a5c5e9fc54612808977ee8f548b2258d31
[17:28] --- ripemd160 hashed password for abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq is 12a053384a9c0c88e405a06c27dcf49ada62eb2b
[17:29] --- ripemd160 hashed password for ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 is b0e20b6e3116640286ed3a87a5713079b21f5189
[17:29] --- ripemd160 hashed password for 12345678901234567890123456789012345678901234567890123456789012345678901234567890 is 9b752e45573d4b39f4dbd3323cab82bf63326bfb

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

16 years agoWhoops, overwriting hash with the hex isnt a good idea
brain [Thu, 10 Apr 2008 16:09:26 +0000 (16:09 +0000)]
Whoops, overwriting hash with the hex isnt a good idea

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

16 years agoFix ripemd160 warnings
brain [Thu, 10 Apr 2008 15:57:47 +0000 (15:57 +0000)]
Fix ripemd160 warnings

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

16 years agoAdd m_ripemd160 on behalf of Brain. Adds ripemd-160 hashing to our collection of...
w00t [Thu, 10 Apr 2008 15:00:41 +0000 (15:00 +0000)]
Add m_ripemd160 on behalf of Brain. Adds ripemd-160 hashing to our collection of providers. Will doc later.

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

16 years agoFix these
w00t [Wed, 9 Apr 2008 16:02:23 +0000 (16:02 +0000)]
Fix these

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

16 years agoAddClient -> AddUser, to be consistant
w00t [Wed, 9 Apr 2008 15:47:10 +0000 (15:47 +0000)]
AddClient -> AddUser, to be consistant

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

16 years agoMove QuitUser into UserManager class, and unstaticize it. This prepares for some...
w00t [Wed, 9 Apr 2008 15:34:54 +0000 (15:34 +0000)]
Move QuitUser into UserManager class, and unstaticize it. This prepares for some benchmarking lulz on object pooling I plan to do today, as well as making more sense now we *have* a manager class

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

16 years agoApply brain's patch for binary safety of hash providers, and remove rehash from windo...
w00t [Wed, 9 Apr 2008 10:17:28 +0000 (10:17 +0000)]
Apply brain's patch for binary safety of hash providers, and remove rehash from windows project (manually applied that due to linefeed shit)

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

16 years agoSend usermodes on whois if user is self or opered
w00t [Wed, 9 Apr 2008 10:14:40 +0000 (10:14 +0000)]
Send usermodes on whois if user is self or opered

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

16 years agoOddness
brain [Tue, 8 Apr 2008 23:59:48 +0000 (23:59 +0000)]
Oddness

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

16 years agoExtra debug
brain [Tue, 8 Apr 2008 23:57:35 +0000 (23:57 +0000)]
Extra debug

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

16 years agoFix authentication logic, someone forgot to change an || to an &&, because we use...
brain [Tue, 8 Apr 2008 23:27:49 +0000 (23:27 +0000)]
Fix authentication logic, someone forgot to change an || to an &&, because we use continue now the logic is reversed, we continue if auth method one fails AND auth method two fails
(instead of if auth method one fails OR auth method two fails)
Also, fix bug where credentials of outbound server are leaked on successful auth to other ircds behind it

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

16 years agoAllow remote users to bypass Q:Line (why on earth wasn't this the case)
w00t [Tue, 8 Apr 2008 22:55:37 +0000 (22:55 +0000)]
Allow remote users to bypass Q:Line (why on earth wasn't this the case)

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

16 years agoDon't check Q:Lines here, it will affect change to UID
w00t [Tue, 8 Apr 2008 22:50:30 +0000 (22:50 +0000)]
Don't check Q:Lines here, it will affect change to UID

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

16 years agoDon't check Q:Lines if server is enforcing a nick change (I forgot we had a way to...
w00t [Tue, 8 Apr 2008 22:36:15 +0000 (22:36 +0000)]
Don't check Q:Lines if server is enforcing a nick change (I forgot we had a way to check this). 'Bug' (it's not really a bug, just admin stupidity) found by Kein.

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

16 years agoFix a bug with /SHUN deletion (it didn't work)
w00t [Tue, 8 Apr 2008 19:42:53 +0000 (19:42 +0000)]
Fix a bug with /SHUN deletion (it didn't work)

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

16 years agoCBan rewritten to use the XLine API. Untested as yet.
w00t [Tue, 8 Apr 2008 19:42:23 +0000 (19:42 +0000)]
CBan rewritten to use the XLine API. Untested as yet.

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

16 years agoChanges needed to get open-linking working.
w00t [Tue, 8 Apr 2008 19:23:18 +0000 (19:23 +0000)]
Changes needed to get open-linking working.

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

16 years agoFix compile error I introduced
w00t [Tue, 8 Apr 2008 18:58:25 +0000 (18:58 +0000)]
Fix compile error I introduced

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

16 years agoComment tweakage
w00t [Tue, 8 Apr 2008 18:54:03 +0000 (18:54 +0000)]
Comment tweakage

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

16 years agoThis comment is slightly out of date: we do write to opers now.
w00t [Tue, 8 Apr 2008 18:39:19 +0000 (18:39 +0000)]
This comment is slightly out of date: we do write to opers now.

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

16 years agoNo longer deprecated, just may not be used
w00t [Tue, 8 Apr 2008 18:33:26 +0000 (18:33 +0000)]
No longer deprecated, just may not be used

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

16 years agoadd a couple of parenthesis to the password comparison, because i couldnt easily...
brain [Tue, 8 Apr 2008 16:03:02 +0000 (16:03 +0000)]
add a couple of parenthesis to the password comparison, because i couldnt easily make out the order of precedence, clarify it a bit :)

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

16 years agoAllow for open link networks (<link:name> to *) and tidy up checks here. XXX someone...
w00t [Tue, 8 Apr 2008 15:36:44 +0000 (15:36 +0000)]
Allow for open link networks (<link:name> to *) and tidy up checks here. XXX someone check my work here because this was quite untidy, so I'm not 100% I got all the logic ops correct.

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

16 years agoAdd todo, add server name
w00t [Tue, 8 Apr 2008 15:05:51 +0000 (15:05 +0000)]
Add todo, add server name

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

16 years agoRemote REHASH stuff, this drove me nuts but should probably work now.. thx brain
w00t [Tue, 8 Apr 2008 15:00:28 +0000 (15:00 +0000)]
Remote REHASH stuff, this drove me nuts but should probably work now.. thx brain

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

16 years agoUpdate syntax
w00t [Tue, 8 Apr 2008 12:07:15 +0000 (12:07 +0000)]
Update syntax

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

16 years agoFinally apply my patch simplifying RSQUIT. Fixes bug #452, reported by Mark. This...
w00t [Tue, 8 Apr 2008 12:05:13 +0000 (12:05 +0000)]
Finally apply my patch simplifying RSQUIT. Fixes bug #452, reported by Mark. This won't be backported.

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

16 years agoFix compile error
w00t [Tue, 8 Apr 2008 12:04:38 +0000 (12:04 +0000)]
Fix compile error

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