4561 Commits

Author SHA1 Message Date
w00t
663e0a4e12 Remove the fucking optimization directive from configure, it's not supported, yet people keep seeming to think it IS, and whinging about it - I've HAD ENOUGH :|
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5538 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-26 11:42:45 +00:00
w00t
4821ad60b7 More missing spaces (and unbreak compile)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5537 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23 23:38:40 +00:00
w00t
e8f2288bfe Fix bug experienced by satmd, remove space indents + tidy a little
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5536 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23 23:32:31 +00:00
brain
37d6059f65 Merge guestpattern fix by peaveydk
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5535 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23 19:14:57 +00:00
brain
d00fc6f9bf Add $ModDep: special comment, similar to $CompileFlags and $LinkerFlags.
$ModDep allows a module to specify headers it depends on, e.g. all of the 
headers which use u_listmode.h now do this:
/* $ModDep: ../../include/u_listmode.h */


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5534 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23 16:37:03 +00:00
brain
a02baa51d3 Fix unloading of modules that use u_listmode
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5533 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23 16:28:54 +00:00
brain
4a4443c79b banexception, chanfilter, inviteexception: use modestacker to stack modes when the module is unloaded.
This results in e.g. one line of -gggggg rather than 6 lines of -g. NEEDS TESTING.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5532 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23 12:10:58 +00:00
brain
afdf3e4076 This needs TESTING: use modestacker when unloading module to group modes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5531 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23 09:23:20 +00:00
special
b0b809d000 Give some actual information when the log file fails to open
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5530 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23 09:10:20 +00:00
brain
c56dc5f7b6 Merge fix by peaveydk which stops crashes when user doesnt auth
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5529 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 21:01:34 +00:00
brain
e2b89c9054 More stringently fit the RFC1459 BNF diagrams
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5528 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 20:26:20 +00:00
brain
042c6efdb6 More mirc ball-suckage.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5527 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 20:11:53 +00:00
brain
93f7aad8ce mIRC sucks, and its author does too!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5526 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 20:02:33 +00:00
brain
ba878c4c5c Delete idents when disconnecting?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5525 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 16:26:04 +00:00
brain
493aa4cbde Default to 5 if none set
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5524 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 16:03:46 +00:00
brain
965ec4fac4 Respect the dns timeout value in the conf
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5523 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 16:03:27 +00:00
brain
08b8c64bb6 Change around some dns stuff (dont use this yet)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5522 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 15:58:13 +00:00
brain
c2dd98bd7d Tidyup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5521 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 15:20:41 +00:00
brain
70f589ea40 Call OnError when timing out
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5520 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 15:18:16 +00:00
brain
99cb131e9c DNS timeouts missing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5519 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 15:08:13 +00:00
brain
e88d4985eb Buffer more stuff up for each write by putting it into larger blocks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5518 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 14:30:29 +00:00
brain
e26c9fa8d9 More sensible way to flush sockets
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5517 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 14:08:50 +00:00
brain
defbe5dc22 Make clever use of modestacker
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5516 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 13:57:56 +00:00
brain
8db7db4376 Make +beIgqa be sent multiple per line, rather than one per line, using modestacker and stringjoiner.
This cuts down server to server traffic a *lot*.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5515 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 13:47:55 +00:00
brain
fd97ca43bb Fix sending bans on sync:
* Dont cram them after +jfJLlk parameters
* Limit them to MAXMODES per line


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5514 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 13:38:06 +00:00
brain
82ebe11613 Tweaks to drain socket on write
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5513 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 12:50:06 +00:00
brain
3136e03097 Oops, memory leaks!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5512 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22 00:07:20 +00:00
brain
208c3ab611 Dont allow people to add censor words containing spaces silently to the censor list (which count as a null string and match everything)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5511 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-21 22:09:06 +00:00
w00t
68c8383ce3 Fix counts on spanningtree reload (this made /map look really odd)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5510 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-21 20:38:26 +00:00
brain
6eed699405 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
2006-10-21 20:32:53 +00:00
brain
60cf1194a5 Got it! I am teh 1337.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5508 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-21 14:49:29 +00:00
brain
a12cc92630 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
2006-10-21 14:31:17 +00:00
brain
66f487ca77 Tiny tweak
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5506 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-21 13:57:13 +00:00
brain
9ede59892d Const refs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5505 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-20 07:55:08 +00:00
brain
7f9c6c5118 Insert massive change here.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19 16:17:06 +00:00
brain
f5ab16c854 References and stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5503 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19 10:16:43 +00:00
brain
8e4b5230e3 More stuff changed to const ref
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5502 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19 08:46:17 +00:00
brain
2f6276a2bb Const ref frenzy!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5501 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19 08:17:11 +00:00
brain
208466651b Const ref frenzy!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5500 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19 07:48:43 +00:00
brain
6c0361d047 Optimizations
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5499 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19 07:26:05 +00:00
brain
6ee5b09346 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
2006-10-19 07:20:13 +00:00
brain
d3b69e8098 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
2006-10-19 07:14:25 +00:00
brain
e9e2425b3f Remove unused large vars
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5496 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19 07:02:30 +00:00
brain
3f455b1747 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
2006-10-17 20:52:02 +00:00
brain
23dba98a52 Move the declaration of class Link up top
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5494 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-17 20:49:55 +00:00
brain
92bcceabef Whoops, forgot to init a var
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5493 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-17 20:45:22 +00:00
brain
689b71f1ea 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
2006-10-17 20:40:03 +00:00
brain
9a073152f4 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
2006-10-17 20:39:15 +00:00
brain
32cb484b7a 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
2006-10-17 20:37:46 +00:00
brain
2c4885fec7 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
2006-10-17 20:32:10 +00:00