]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
brain [Sat, 28 Oct 2006 19:42:29 +0000 (19:42 +0000)]
* Fix removal of user modes when unloading the mode letter (this actually works now)
* Fix m_stripcolor channel mode +S (was unsettable as it had some user mode checks in it)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5577
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 18:52:54 +0000 (18:52 +0000)]
Add and document m_hideoper, used to hide oper status from non-opers.
Note: This module ONLY conceals numeric 313. Any other cloak-and-dagger
private eye stuff you want to do, like setting your host back to a non-
oper host, you must do yourself, this module wont mess with anything else
on your behalf.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5576
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 18:45:13 +0000 (18:45 +0000)]
Fix these too!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5575
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 18:42:38 +0000 (18:42 +0000)]
And fix typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5574
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 18:41:34 +0000 (18:41 +0000)]
Add 'dest' parameter to OnWhoisLine, contains the user being whois'ed (we need this for +H and probably the stuff w00t is doing too)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5573
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 18:34:52 +0000 (18:34 +0000)]
Dont let users set this mode!!!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5572
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 18:16:23 +0000 (18:16 +0000)]
Fix some next_call stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5571
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 18:12:45 +0000 (18:12 +0000)]
Add support for OnWhoisLine, which allows modules to change or drop any line of whois before its sent to a user
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5570
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 17:26:58 +0000 (17:26 +0000)]
Whoops, wrong linfeed type on ADDLINE in netburst
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5569
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 17:19:55 +0000 (17:19 +0000)]
Needs more testing but seems to work: In DoBackgroundUserStuff(), calculate the time value of when we actually do need enter the function body again, and dont run function body again till that time
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5568
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 15:34:21 +0000 (15:34 +0000)]
Document <link:timeout>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5567
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 15:32:40 +0000 (15:32 +0000)]
Allow admins to set the socket timeout on server connections
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5566
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 15:22:58 +0000 (15:22 +0000)]
Give this one a go dotslasher, apply to ALL servers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5565
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 13:49:48 +0000 (13:49 +0000)]
And so does my coding on a saturday afternoon...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5564
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 13:48:55 +0000 (13:48 +0000)]
I HATE YOU DEBIAN, YOU AND YOUR WHOLE OPERATION STINK
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5563
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 13:28:21 +0000 (13:28 +0000)]
Try this, werdnum
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5562
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 12:57:31 +0000 (12:57 +0000)]
Remove ancient copy-to-tmp system for modules, this is no longer required so long as we keep using 'install' to overwrite the files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5561
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 11:43:42 +0000 (11:43 +0000)]
Fix for crash, submitted by peaveydk
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5560
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 28 Oct 2006 11:41:38 +0000 (11:41 +0000)]
Unknown change here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5559
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Sat, 28 Oct 2006 05:07:00 +0000 (05:07 +0000)]
Removed a bit of unreachable code I added with the last commit (thanks peaveydk)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5558
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Sat, 28 Oct 2006 04:55:46 +0000 (04:55 +0000)]
Return CMD_FAILURE from sajoin when given an invalid nickname (thanks Ares)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5557
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 27 Oct 2006 20:09:15 +0000 (20:09 +0000)]
<pid file> is no longer a manditory tag (thanks dotslasher)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5556
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 27 Oct 2006 15:44:30 +0000 (15:44 +0000)]
When loading, dont try and free the qa modes, we havent allocated them yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5555
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 27 Oct 2006 14:08:52 +0000 (14:08 +0000)]
Smart trick: the 'build complete' message is now a makefile section of its own which depends on 'ircd' and 'mods', so when using -j, the rest of the processes will wait to complete before displaying the message ;)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5554
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 27 Oct 2006 14:03:25 +0000 (14:03 +0000)]
Have 'make install' make the directories, its really make install's job and not configure's.
Note that configure may still try to make the dirs anyway, e.g. if you are generating ssl certs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5553
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 27 Oct 2006 10:10:01 +0000 (10:10 +0000)]
Update changelog
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5552
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 27 Oct 2006 09:34:07 +0000 (09:34 +0000)]
Update a little
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5551
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 27 Oct 2006 09:26:51 +0000 (09:26 +0000)]
RFC1035 - dns rfc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5550
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 27 Oct 2006 07:31:17 +0000 (07:31 +0000)]
Allow changing of qaprefixes on the fly with REHASH - if this happens, writeopers saying that users might need to reconnect to detect the change.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5549
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 27 Oct 2006 07:22:05 +0000 (07:22 +0000)]
remove <filter file> - This is no longer neccessary as we've had includes for quite a while now.
It's still required for m_helpop, because the helpop.conf has tags which clash with the main config's tags
(e.g. <server>, <oper>)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5548
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 27 Oct 2006 07:13:22 +0000 (07:13 +0000)]
Allow relative path on pid file
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5547
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 27 Oct 2006 07:03:08 +0000 (07:03 +0000)]
Allow relative paths for motd and rules (and anything that uses ReadFile)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5546
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 26 Oct 2006 23:26:52 +0000 (23:26 +0000)]
Tweak hash generation to make it faster
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5545
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 26 Oct 2006 22:28:29 +0000 (22:28 +0000)]
Fix broken GlobalCloneCount (AGAIN).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5544
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 26 Oct 2006 19:32:47 +0000 (19:32 +0000)]
Added unsupported warning for non-interactive configure. WE DONT SUPPORT NON-INTERACTIVE!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5543
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 26 Oct 2006 19:27:07 +0000 (19:27 +0000)]
Allow configuring of MAX_DESCRIPTORS by picking max number of clients
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5542
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 26 Oct 2006 16:33:43 +0000 (16:33 +0000)]
Fix this to display the channel name when overriding a ban, and to properly display +i overrides in the right way
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5541
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 26 Oct 2006 13:59:00 +0000 (13:59 +0000)]
Don't display this notice on an empty servername (which will happen if an incoming connection fails), confusing.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5540
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 26 Oct 2006 13:23:43 +0000 (13:23 +0000)]
Hopefully fix override notices on channel bans, also make the override notice behaviour respect NoisyOverride properly (NoisyOverride should NOT silence the oper notice, just the channel one)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5539
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 26 Oct 2006 11:42:45 +0000 (11:42 +0000)]
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
w00t [Mon, 23 Oct 2006 23:38:40 +0000 (23:38 +0000)]
More missing spaces (and unbreak compile)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5537
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 23 Oct 2006 23:32:31 +0000 (23:32 +0000)]
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
brain [Mon, 23 Oct 2006 19:14:57 +0000 (19:14 +0000)]
Merge guestpattern fix by peaveydk
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5535
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 23 Oct 2006 16:37:03 +0000 (16:37 +0000)]
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
brain [Mon, 23 Oct 2006 16:28:54 +0000 (16:28 +0000)]
Fix unloading of modules that use u_listmode
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5533
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 23 Oct 2006 12:10:58 +0000 (12:10 +0000)]
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
brain [Mon, 23 Oct 2006 09:23:20 +0000 (09:23 +0000)]
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
special [Mon, 23 Oct 2006 09:10:20 +0000 (09:10 +0000)]
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
brain [Sun, 22 Oct 2006 21:01:34 +0000 (21:01 +0000)]
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
brain [Sun, 22 Oct 2006 20:26:20 +0000 (20:26 +0000)]
More stringently fit the RFC1459 BNF diagrams
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5528
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 22 Oct 2006 20:11:53 +0000 (20:11 +0000)]
More mirc ball-suckage.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5527
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 22 Oct 2006 20:02:33 +0000 (20:02 +0000)]
mIRC sucks, and its author does too!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5526
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 22 Oct 2006 16:26:04 +0000 (16:26 +0000)]
Delete idents when disconnecting?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5525
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 22 Oct 2006 16:03:46 +0000 (16:03 +0000)]
Default to 5 if none set
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5524
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 22 Oct 2006 16:03:27 +0000 (16:03 +0000)]
Respect the dns timeout value in the conf
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5523
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 22 Oct 2006 15:58:13 +0000 (15:58 +0000)]
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
brain [Sun, 22 Oct 2006 15:20:41 +0000 (15:20 +0000)]
Tidyup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5521
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 22 Oct 2006 15:18:16 +0000 (15:18 +0000)]
Call OnError when timing out
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5520
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 22 Oct 2006 15:08:13 +0000 (15:08 +0000)]
DNS timeouts missing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5519
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 22 Oct 2006 14:30:29 +0000 (14:30 +0000)]
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
brain [Sun, 22 Oct 2006 14:08:50 +0000 (14:08 +0000)]
More sensible way to flush sockets
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5517
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 22 Oct 2006 13:57:56 +0000 (13:57 +0000)]
Make clever use of modestacker
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5516
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 22 Oct 2006 13:47:55 +0000 (13:47 +0000)]
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
brain [Sun, 22 Oct 2006 13:38:06 +0000 (13:38 +0000)]
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
brain [Sun, 22 Oct 2006 12:50:06 +0000 (12:50 +0000)]
Tweaks to drain socket on write
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5513
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 22 Oct 2006 00:07:20 +0000 (00:07 +0000)]
Oops, memory leaks!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5512
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 21 Oct 2006 22:09:06 +0000 (22:09 +0000)]
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
w00t [Sat, 21 Oct 2006 20:38:26 +0000 (20:38 +0000)]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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