]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoMode +W should be user mode, not channel mode (oops!)
brain [Sat, 21 Oct 2006 20:32:53 +0000 (20:32 +0000)]
Mode +W should be user mode, not channel mode (oops!)

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

17 years agoGot it! I am teh 1337.
brain [Sat, 21 Oct 2006 14:49:29 +0000 (14:49 +0000)]
Got it! I am teh 1337.

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

17 years agoSomething here was loglevel default, should have been loglevel debug
brain [Sat, 21 Oct 2006 14:31:17 +0000 (14:31 +0000)]
Something here was loglevel default, should have been loglevel debug

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

17 years agoTiny tweak
brain [Sat, 21 Oct 2006 13:57:13 +0000 (13:57 +0000)]
Tiny tweak

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

17 years agoConst refs
brain [Fri, 20 Oct 2006 07:55:08 +0000 (07:55 +0000)]
Const refs

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

17 years agoInsert massive change here.
brain [Thu, 19 Oct 2006 16:17:06 +0000 (16:17 +0000)]
Insert massive change here.

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

17 years agoReferences and stuff
brain [Thu, 19 Oct 2006 10:16:43 +0000 (10:16 +0000)]
References and stuff

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

17 years agoMore stuff changed to const ref
brain [Thu, 19 Oct 2006 08:46:17 +0000 (08:46 +0000)]
More stuff changed to const ref

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

17 years agoConst ref frenzy!
brain [Thu, 19 Oct 2006 08:17:11 +0000 (08:17 +0000)]
Const ref frenzy!

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

17 years agoConst ref frenzy!
brain [Thu, 19 Oct 2006 07:48:43 +0000 (07:48 +0000)]
Const ref frenzy!

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

17 years agoOptimizations
brain [Thu, 19 Oct 2006 07:26:05 +0000 (07:26 +0000)]
Optimizations

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

17 years agoImprove WriteLine, this should be quite an improvement as it prevents a temporary...
brain [Thu, 19 Oct 2006 07:20:13 +0000 (07:20 +0000)]
Improve WriteLine, this should be quite an improvement as it prevents a temporary allocation and deallocation for every call to Write()

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

17 years agoUse rfind rather than find when chopping strings, its faster as the \r is more likely...
brain [Thu, 19 Oct 2006 07:14:25 +0000 (07:14 +0000)]
Use rfind rather than find when chopping strings, its faster as the \r is more likely to be at the end of the sequence not the start

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

17 years agoRemove unused large vars
brain [Thu, 19 Oct 2006 07:02:30 +0000 (07:02 +0000)]
Remove unused large vars

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

17 years agoRemember to delete the tree root when unloading the module
brain [Tue, 17 Oct 2006 20:52:02 +0000 (20:52 +0000)]
Remember to delete the tree root when unloading the module

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

17 years agoMove the declaration of class Link up top
brain [Tue, 17 Oct 2006 20:49:55 +0000 (20:49 +0000)]
Move the declaration of class Link up top

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

17 years agoWhoops, forgot to init a var
brain [Tue, 17 Oct 2006 20:45:22 +0000 (20:45 +0000)]
Whoops, forgot to init a var

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

17 years agoRemove culllist.h from here, we no longer use it.
brain [Tue, 17 Oct 2006 20:40:03 +0000 (20:40 +0000)]
Remove culllist.h from here, we no longer use it.

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

17 years agoRemove another 'using' for a symbol we use only once
brain [Tue, 17 Oct 2006 20:39:15 +0000 (20:39 +0000)]
Remove another 'using' for a symbol we use only once

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

17 years agoAdd a ton of comments to make this much more useful now (putting it all in a class...
brain [Tue, 17 Oct 2006 20:37:46 +0000 (20:37 +0000)]
Add a ton of comments to make this much more useful now (putting it all in a class essentially forward-declares the lot and gives opportunity to comment)
remove 'using namespace std' which we dont need.

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

17 years agoBrain->GoToTownOnThisModule().
brain [Tue, 17 Oct 2006 20:32:10 +0000 (20:32 +0000)]
Brain->GoToTownOnThisModule().
There is now NOTHING in the global namespace in this module. it's all passed around by class pointers, keeping the exported namespace clean

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

17 years agoFinally take ServerInstance out of the global scope in this module, amongst a ton...
brain [Tue, 17 Oct 2006 20:09:59 +0000 (20:09 +0000)]
Finally take ServerInstance out of the global scope in this module, amongst a ton of other stuff.
Put it all into a class called SpanningTreeUtilities and pass this class around when constructing new objects.

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

17 years agoAdded a tiny bit more logging to LoadModule, to log to default loglevel when a module...
brain [Mon, 16 Oct 2006 21:38:51 +0000 (21:38 +0000)]
Added a tiny bit more logging to LoadModule, to log to default loglevel when a module is loaded

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

17 years agoMultiply API_VERSION by ten if IPV6 is defined, to prevent modules built for an ipv6...
brain [Mon, 16 Oct 2006 21:27:02 +0000 (21:27 +0000)]
Multiply API_VERSION by ten if IPV6 is defined, to prevent modules built for an ipv6 insp being loaded into an ipv4 insp (the sizes of structs such as userrec and inspsocket are different when ipv6 is enabled)

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

17 years agoAllow * in override to mean all tokens in 1.1
brain [Mon, 16 Oct 2006 20:31:47 +0000 (20:31 +0000)]
Allow * in override to mean all tokens in 1.1

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

17 years agoAlways allow a user to dcc themselves
brain [Mon, 16 Oct 2006 16:32:52 +0000 (16:32 +0000)]
Always allow a user to dcc themselves
Only return CMD_SUCCESS when a user is added or deleted, theres no use in propogating HELP or LIST

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

17 years agoIdea from nenolod, dont allow you to add yourself to your own dccallow list (!)
brain [Mon, 16 Oct 2006 16:30:03 +0000 (16:30 +0000)]
Idea from nenolod, dont allow you to add yourself to your own dccallow list (!)

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

17 years agoMake parameter count checks more readable
brain [Mon, 16 Oct 2006 13:33:33 +0000 (13:33 +0000)]
Make parameter count checks more readable

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

17 years agoFix checks on duration, this isnt valid, you cant compare a char* as an int:
brain [Mon, 16 Oct 2006 13:32:08 +0000 (13:32 +0000)]
Fix checks on duration, this isnt valid, you cant compare a char* as an int:
else if (parameters[1] == 0)

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

17 years agoUpdate syntax help to include HELP and LIST
brain [Mon, 16 Oct 2006 13:29:17 +0000 (13:29 +0000)]
Update syntax help to include HELP and LIST

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

17 years agoyou can't compare userrec::nick with ==, its a char[] buffer...
brain [Mon, 16 Oct 2006 13:27:26 +0000 (13:27 +0000)]
you can't compare userrec::nick with ==, its a char[] buffer...

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

17 years agoif (dl) { do_something() } else { delete dl; } ???
brain [Mon, 16 Oct 2006 13:23:27 +0000 (13:23 +0000)]
if (dl) { do_something() } else { delete dl; } ???
no no no, you cannot delete null pointers! :p

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

17 years agoIndents all fixed, its all tabs now. Next person i see using spaces is going to get...
brain [Mon, 16 Oct 2006 13:10:08 +0000 (13:10 +0000)]
Indents all fixed, its all tabs now. Next person i see using spaces is going to get clobbered with the wide end of a tennis racket!

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

17 years agoMore crashbug fixage, half way through indent fix
brain [Mon, 16 Oct 2006 13:06:13 +0000 (13:06 +0000)]
More crashbug fixage, half way through indent fix

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

17 years agoThis compiles again now -- would have been very unstable in its old state (oopsy)
brain [Mon, 16 Oct 2006 12:52:00 +0000 (12:52 +0000)]
This compiles again now -- would have been very unstable in its old state (oopsy)

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

17 years agoReadFlag, oops
brain [Mon, 16 Oct 2006 12:50:47 +0000 (12:50 +0000)]
ReadFlag, oops

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

17 years agoAURGH 4 space indents :/
brain [Mon, 16 Oct 2006 12:50:23 +0000 (12:50 +0000)]
AURGH 4 space indents :/

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

17 years agoGACK! you cannot ConfigReader::ReadValue to a const char*! you need to read to a...
brain [Mon, 16 Oct 2006 12:45:35 +0000 (12:45 +0000)]
GACK! you cannot ConfigReader::ReadValue to a const char*! you need to read to a string :P

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

17 years agoFix: DCC types (CHAT/SEND) are case insensitive
brain [Mon, 16 Oct 2006 12:44:06 +0000 (12:44 +0000)]
Fix: DCC types (CHAT/SEND) are case insensitive

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

17 years ago1. Tidy up craq (two strcmps, lowercase and uppercase? use strcasecmp)
brain [Mon, 16 Oct 2006 12:39:36 +0000 (12:39 +0000)]
1. Tidy up craq (two strcmps, lowercase and uppercase? use strcasecmp)
2. TABS AND ONLY TABS not eight spaces! :P (or fear the wrath of om and w00t)

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

17 years agoAdd m_dccallow module and detail configuration in inspircd.conf.example
jamie [Mon, 16 Oct 2006 03:07:11 +0000 (03:07 +0000)]
Add m_dccallow module and detail configuration in inspircd.conf.example

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

17 years agoOnly tick the timer when there are people doing /LIST, as suggested by special
brain [Thu, 12 Oct 2006 20:34:34 +0000 (20:34 +0000)]
Only tick the timer when there are people doing /LIST, as suggested by special

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

17 years agoFixed a crash when unloading m_safelist (timers weren't properly tracked to be delete...
special [Wed, 11 Oct 2006 07:46:04 +0000 (07:46 +0000)]
Fixed a crash when unloading m_safelist (timers weren't properly tracked to be deleted). Someone should seriously consider rewriting this module, or at least seriously overhauling it

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

17 years agoFixed percentage in m_tline (division was backwards, so it displayed 200% instead...
special [Mon, 9 Oct 2006 04:17:41 +0000 (04:17 +0000)]
Fixed percentage in m_tline (division was backwards, so it displayed 200% instead of 50%)

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

17 years agoUpdate comments
brain [Sun, 8 Oct 2006 11:48:35 +0000 (11:48 +0000)]
Update comments

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

17 years agoReplaced operonlystats with userstats to improve security
special [Sat, 7 Oct 2006 21:11:50 +0000 (21:11 +0000)]
Replaced operonlystats with userstats to improve security

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

17 years agoAdd distclean, does the same as squeakclean, just for traditionalists
brain [Sat, 7 Oct 2006 19:18:06 +0000 (19:18 +0000)]
Add distclean, does the same as squeakclean, just for traditionalists

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

17 years agob4 SVN
brain [Sat, 7 Oct 2006 16:53:54 +0000 (16:53 +0000)]
b4 SVN

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

17 years agoOops, marble.
brain [Sat, 7 Oct 2006 16:18:30 +0000 (16:18 +0000)]
Oops, marble.

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

17 years agoGranite!
brain [Sat, 7 Oct 2006 16:13:51 +0000 (16:13 +0000)]
Granite!

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

17 years agoFix (we hope!) for the 'internal error processing connection' bug. Thanks to jamie...
brain [Sat, 7 Oct 2006 11:23:40 +0000 (11:23 +0000)]
Fix (we hope!) for the 'internal error processing connection' bug. Thanks to jamie and shadow for enduring this one while we hunted it down.
Its complicated, bug one of us for more info if youre really interested.

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

17 years ago/me thwaps special for not reading comments :p
brain [Fri, 6 Oct 2006 22:14:14 +0000 (22:14 +0000)]
/me thwaps special for not reading comments :p

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

17 years agoMake this module propogate remote modes by directly calling the MODE command handler...
brain [Fri, 6 Oct 2006 22:02:55 +0000 (22:02 +0000)]
Make this module propogate remote modes by directly calling the MODE command handler rather than using SendMode which would also require spanningtree metadata

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

17 years agoRevert tweak
brain [Fri, 6 Oct 2006 21:45:27 +0000 (21:45 +0000)]
Revert tweak

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

17 years agoWriteOpers when reaching the softlimit
brain [Fri, 6 Oct 2006 21:35:37 +0000 (21:35 +0000)]
WriteOpers when reaching the softlimit

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

17 years agoNew example conf with softlimit set to 12800 so that the default doesnt confuse us
brain [Fri, 6 Oct 2006 21:31:42 +0000 (21:31 +0000)]
New example conf with softlimit set to 12800 so that the default doesnt confuse us

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

17 years agoMore.
brain [Fri, 6 Oct 2006 21:21:10 +0000 (21:21 +0000)]
More.

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

17 years agoMore debug
brain [Fri, 6 Oct 2006 21:08:13 +0000 (21:08 +0000)]
More debug

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

17 years agoExtra debugging
brain [Fri, 6 Oct 2006 21:00:08 +0000 (21:00 +0000)]
Extra debugging

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

17 years agoMake the socketengines always clear the slots on DelFd, even if the underlying queue...
brain [Fri, 6 Oct 2006 19:59:09 +0000 (19:59 +0000)]
Make the socketengines always clear the slots on DelFd, even if the underlying queue call fails

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

17 years agoAdd extra debugging for socketengines, will now report OS error string when failing...
brain [Fri, 6 Oct 2006 19:55:24 +0000 (19:55 +0000)]
Add extra debugging for socketengines, will now report OS error string when failing to remove a socket from the queue

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

17 years agoDocument more classes
brain [Fri, 6 Oct 2006 14:37:51 +0000 (14:37 +0000)]
Document more classes

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

17 years agoDocument a ton of classes (e.g. give them a short description for http://svn.inspircd...
brain [Fri, 6 Oct 2006 14:23:37 +0000 (14:23 +0000)]
Document a ton of classes (e.g. give them a short description for http://svn.inspircd.org/docs/annotated.html)

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

17 years agoRemove a strcpy
brain [Fri, 6 Oct 2006 10:03:22 +0000 (10:03 +0000)]
Remove a strcpy

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

17 years agoUpdate to support modular prefixes, and eliminate some string copying
brain [Fri, 6 Oct 2006 09:33:56 +0000 (09:33 +0000)]
Update to support modular prefixes, and eliminate some string copying

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

17 years agoOptimize some more
brain [Fri, 6 Oct 2006 09:18:26 +0000 (09:18 +0000)]
Optimize some more

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

17 years ago...and actually take out the +i restriction
brain [Fri, 6 Oct 2006 09:17:21 +0000 (09:17 +0000)]
...and actually take out the +i restriction

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

17 years agoBackport improved NAMES code into m_spy
brain [Fri, 6 Oct 2006 09:16:45 +0000 (09:16 +0000)]
Backport improved NAMES code into m_spy

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

17 years agoTidy up strlens which are not required
brain [Fri, 6 Oct 2006 09:09:27 +0000 (09:09 +0000)]
Tidy up strlens which are not required

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

17 years agoAnd fix typos
brain [Fri, 6 Oct 2006 08:28:25 +0000 (08:28 +0000)]
And fix typos

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

17 years agotidy up WriteMode
brain [Fri, 6 Oct 2006 08:20:47 +0000 (08:20 +0000)]
tidy up WriteMode

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

17 years agoTidy up m_safelist to avoid strlen on every line output, we're strlen()ing a constant...
brain [Fri, 6 Oct 2006 07:51:44 +0000 (07:51 +0000)]
Tidy up m_safelist to avoid strlen on every line output, we're strlen()ing a constant-ish string so instead record the value for later use.

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

17 years agoReport invalid command name when invalid command is given in negotiation phase
brain [Thu, 5 Oct 2006 19:59:55 +0000 (19:59 +0000)]
Report invalid command name when invalid command is given in negotiation phase

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

17 years agoRemove some annoying debug
brain [Thu, 5 Oct 2006 19:53:10 +0000 (19:53 +0000)]
Remove some annoying debug

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

17 years agoFixed freeing of bound sockets when unloading spanningtree
brain [Thu, 5 Oct 2006 17:17:33 +0000 (17:17 +0000)]
Fixed freeing of bound sockets when unloading spanningtree

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

17 years agoWas checking 'channel', not 'dest'.
brain [Thu, 5 Oct 2006 16:23:53 +0000 (16:23 +0000)]
Was checking 'channel', not 'dest'.

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

17 years agoAnd fix my typoes :D
brain [Thu, 5 Oct 2006 14:22:52 +0000 (14:22 +0000)]
And fix my typoes :D
wooohooo, 30 mins till time to go home :D

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

17 years agoMove opertypes/operclasses maps into ServerConfig, for some reason these were global...
brain [Thu, 5 Oct 2006 11:47:43 +0000 (11:47 +0000)]
Move opertypes/operclasses maps into ServerConfig, for some reason these were global to users.cpp and not accessible to any other file.

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

17 years agoRemove VF_STATIC from spanningtree and make a clever destructor to close and free...
brain [Thu, 5 Oct 2006 11:19:35 +0000 (11:19 +0000)]
Remove VF_STATIC from spanningtree and make a clever destructor to close and free all its open sockets. In theory this will make insp split from everything neatly when you unload spanningtree.

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

17 years agoAdd <options:announcets> to output the "TS for #chan changed from 1111 to 2222".
brain [Thu, 5 Oct 2006 08:08:31 +0000 (08:08 +0000)]
Add <options:announcets> to output the "TS for #chan changed from 1111 to 2222".

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

17 years agoEugh. Revert change InspIRCd::Time() -> time()
jamie [Wed, 4 Oct 2006 21:25:42 +0000 (21:25 +0000)]
Eugh. Revert change InspIRCd::Time() -> time()

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

17 years agoCheck for non-existent channel in FMODE
brain [Wed, 4 Oct 2006 18:24:11 +0000 (18:24 +0000)]
Check for non-existent channel in FMODE

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

17 years agoWhowas is now fixed.
brain [Wed, 4 Oct 2006 17:21:58 +0000 (17:21 +0000)]
Whowas is now fixed.

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

17 years agoFix jamies fix (you cant strcpy to a char* pointer, without first allocating some...
brain [Wed, 4 Oct 2006 16:42:42 +0000 (16:42 +0000)]
Fix jamies fix (you cant strcpy to a char* pointer, without first allocating some memory!) -- made it char newident[MAXBUF].
Added extra fixage for when the ident module gets 'connection refused' right away, this also prepends the ~ properly too now

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

17 years agoFix for bug#159 reported by SiliconAI (unloading causes crash, it neglects to remove...
brain [Wed, 4 Oct 2006 16:30:02 +0000 (16:30 +0000)]
Fix for bug#159 reported by SiliconAI (unloading causes crash, it neglects to remove its timer)

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

17 years agoExtra safety checking in ModeSet just to ensure we cant be passed a null pointer
brain [Wed, 4 Oct 2006 16:26:40 +0000 (16:26 +0000)]
Extra safety checking in ModeSet just to ensure we cant be passed a null pointer

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

17 years agoNickname collisions were broken! :O
brain [Wed, 4 Oct 2006 16:21:15 +0000 (16:21 +0000)]
Nickname collisions were broken! :O

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

17 years ago*slaps* jamie for not using tabs to indent ;-p
brain [Wed, 4 Oct 2006 13:47:15 +0000 (13:47 +0000)]
*slaps* jamie for not using tabs to indent ;-p

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

17 years agoPrepend ident with '~' if we get no response
jamie [Wed, 4 Oct 2006 11:34:54 +0000 (11:34 +0000)]
Prepend ident with '~' if we get no response

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

17 years agoSomeone review the comments i put in from line 1515 onwards, and see if theyre legibl...
brain [Tue, 3 Oct 2006 21:03:49 +0000 (21:03 +0000)]
Someone review the comments i put in from line 1515 onwards, and see if theyre legible and make FJOIN understandable?

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

17 years agoTidyup (remove casts) and commenting FJOIN a lot, so that others can fix stuff that...
brain [Tue, 3 Oct 2006 20:49:41 +0000 (20:49 +0000)]
Tidyup (remove casts) and commenting FJOIN a lot, so that others can fix stuff that breaks (if it breaks)

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

17 years agoFake direction check in FJOIN on all users, plus tidyup of the code that forms the...
brain [Tue, 3 Oct 2006 20:29:23 +0000 (20:29 +0000)]
Fake direction check in FJOIN on all users, plus tidyup of the code that forms the modeline for giving them their privilages

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

17 years agoDocument
brain [Tue, 3 Oct 2006 13:57:53 +0000 (13:57 +0000)]
Document

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

17 years agoNew helper class irc::stringjoiner - it pwns you.
brain [Tue, 3 Oct 2006 13:46:28 +0000 (13:46 +0000)]
New helper class irc::stringjoiner - it pwns you.

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

17 years agoFix my last change to InspIRCd::Time()
jamie [Mon, 2 Oct 2006 23:14:53 +0000 (23:14 +0000)]
Fix my last change to InspIRCd::Time()

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

17 years agoUse InspIRCd::Time() instead of time()
jamie [Mon, 2 Oct 2006 21:58:10 +0000 (21:58 +0000)]
Use InspIRCd::Time() instead of time()

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

17 years agoSeems to work now
brain [Mon, 2 Oct 2006 17:14:41 +0000 (17:14 +0000)]
Seems to work now

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

17 years agonenolod, what craq were you smoking? this code was FINE, you broke it :P
brain [Mon, 2 Oct 2006 17:00:07 +0000 (17:00 +0000)]
nenolod, what craq were you smoking? this code was FINE, you broke it :P

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

17 years agoRemove testcases
brain [Mon, 2 Oct 2006 13:48:00 +0000 (13:48 +0000)]
Remove testcases

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

17 years agothe multithreaded DNS engine was removed a while ago
nenolod [Mon, 2 Oct 2006 13:20:59 +0000 (13:20 +0000)]
the multithreaded DNS engine was removed a while ago

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