]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoFix a whoopsy
brain [Tue, 31 Oct 2006 20:47:25 +0000 (20:47 +0000)]
Fix a whoopsy

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

17 years agoSet write error when detected
brain [Tue, 31 Oct 2006 20:44:47 +0000 (20:44 +0000)]
Set write error when detected

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

17 years agoError set handlin g for select socketengine, tidyup epoll
brain [Tue, 31 Oct 2006 20:43:47 +0000 (20:43 +0000)]
Error set handlin g for select socketengine, tidyup epoll

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

17 years agoClose an inspsocket on getting error state
brain [Tue, 31 Oct 2006 20:36:38 +0000 (20:36 +0000)]
Close an inspsocket on getting error state

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

17 years agoSocket error state stuff
brain [Tue, 31 Oct 2006 20:32:01 +0000 (20:32 +0000)]
Socket error state stuff

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

17 years agoStart of stuff to handle socket error state
brain [Tue, 31 Oct 2006 20:30:16 +0000 (20:30 +0000)]
Start of stuff to handle socket error state

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

17 years agoWe dont want kqueue to go into an infinite loop when netsplitting, do we.
brain [Tue, 31 Oct 2006 18:30:25 +0000 (18:30 +0000)]
We dont want kqueue to go into an infinite loop when netsplitting, do we.

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

17 years agoRemoved OnRawMode - this hasn't been called at all for awhile now, so it was complete...
special [Tue, 31 Oct 2006 18:06:33 +0000 (18:06 +0000)]
Removed OnRawMode - this hasn't been called at all for awhile now, so it was completely worthless. I even tested it.

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

17 years agoAdd peaveydk to contributors section
brain [Tue, 31 Oct 2006 17:56:45 +0000 (17:56 +0000)]
Add peaveydk to contributors section

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

17 years agoRemove some debug
brain [Tue, 31 Oct 2006 17:50:26 +0000 (17:50 +0000)]
Remove some debug

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

17 years agoFix the makefile confusion removal of these headers creates
brain [Tue, 31 Oct 2006 17:45:34 +0000 (17:45 +0000)]
Fix the makefile confusion removal of these headers creates

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

17 years agoUpdate configure, remove a bunch of deprecated makefiles that have been just a #warni...
brain [Tue, 31 Oct 2006 17:42:09 +0000 (17:42 +0000)]
Update configure, remove a bunch of deprecated makefiles that have been just a #warning for about 1000 revs

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

17 years agoIncorporate stats p patch by peaveydk (shows port numbers and number of clients on...
brain [Tue, 31 Oct 2006 17:06:32 +0000 (17:06 +0000)]
Incorporate stats p patch by peaveydk (shows port numbers and number of clients on each port)
Tidy up cmd_stats.cpp in general, turn it into a large case statement

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

17 years agoTest commit 2
brain [Tue, 31 Oct 2006 13:16:59 +0000 (13:16 +0000)]
Test commit 2

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

17 years agoTest commit
brain [Tue, 31 Oct 2006 13:11:07 +0000 (13:11 +0000)]
Test commit

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

17 years agoWhack unused var warning
brain [Tue, 31 Oct 2006 08:28:28 +0000 (08:28 +0000)]
Whack unused var warning

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

17 years agoSet flags correctly when receiving a module-requested write event
brain [Tue, 31 Oct 2006 08:21:35 +0000 (08:21 +0000)]
Set flags correctly when receiving a module-requested write event

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

17 years agoTidy up WaitingForWriteEvent stuff
brain [Tue, 31 Oct 2006 08:16:14 +0000 (08:16 +0000)]
Tidy up WaitingForWriteEvent stuff

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

17 years agoFix for crash found by eggy when a user without a cert tries to oper on a fingerprint...
brain [Mon, 30 Oct 2006 22:48:51 +0000 (22:48 +0000)]
Fix for crash found by eggy when a user without a cert tries to oper on a fingerprinted oper tag

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

17 years agoDocument SocketEngine::WantWrite()
brain [Mon, 30 Oct 2006 20:51:52 +0000 (20:51 +0000)]
Document SocketEngine::WantWrite()

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

17 years agoFix broken quits (i broke them by taking out a check i didnt think was required ...
brain [Mon, 30 Oct 2006 20:38:32 +0000 (20:38 +0000)]
Fix broken quits (i broke them by taking out a check i didnt think was required -- it was. RTFS!)

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

17 years agoRemove very verbose debugging of event system
brain [Mon, 30 Oct 2006 20:25:08 +0000 (20:25 +0000)]
Remove very verbose debugging of event system

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

17 years agoMake this properly obey the write/read states. This ZOOMS now.
brain [Mon, 30 Oct 2006 20:01:21 +0000 (20:01 +0000)]
Make this properly obey the write/read states. This ZOOMS now.

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

17 years agoSelect is now done, and some debug removed. Not that anyone really should be using...
brain [Mon, 30 Oct 2006 19:49:13 +0000 (19:49 +0000)]
Select is now done, and some debug removed. Not that anyone really should be using select()...

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

17 years agofix for (less severe) laggehness
brain [Mon, 30 Oct 2006 19:31:41 +0000 (19:31 +0000)]
fix for (less severe) laggehness

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

17 years agoFix for laggehness
brain [Mon, 30 Oct 2006 19:31:26 +0000 (19:31 +0000)]
Fix for laggehness

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

17 years agoFor users, we now only write when the socketengine says theyre writeable, setting...
brain [Mon, 30 Oct 2006 18:59:04 +0000 (18:59 +0000)]
For users, we now only write when the socketengine says theyre writeable, setting WantWrite after we call userrec::Write().
The old way was to always try and flush the buffer after every read, regardless of wether the socket was writeable

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

17 years agoAdd m_hidechans: Adds usermode +I to hide an oper's channels from non-opers. Also...
w00t [Mon, 30 Oct 2006 18:48:41 +0000 (18:48 +0000)]
Add m_hidechans: Adds usermode +I to hide an oper's channels from non-opers. Also, we don't want to load a .h in the config, Brain :p

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

17 years agoNot tested yet: Write and read at the same time in kqueue
brain [Mon, 30 Oct 2006 18:45:04 +0000 (18:45 +0000)]
Not tested yet: Write and read at the same time in kqueue

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

17 years agom_hideoper hooked the wrong event, fixed.
w00t [Mon, 30 Oct 2006 18:40:22 +0000 (18:40 +0000)]
m_hideoper hooked the wrong event, fixed.

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

17 years agoWARNING: This commit breaks kqueue and select -- work in progress!
brain [Mon, 30 Oct 2006 18:22:36 +0000 (18:22 +0000)]
WARNING: This commit breaks kqueue and select -- work in progress!
epoll now allows both a write and a read event on a socket at the same time.

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

17 years agoTest commit
brain [Sun, 29 Oct 2006 01:32:14 +0000 (01:32 +0000)]
Test commit

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

17 years agoAdd <options:deprotectself> which can allow a +qa user to remove their own +q or...
brain [Sat, 28 Oct 2006 20:07:31 +0000 (20:07 +0000)]
Add <options:deprotectself> which can allow a +qa user to remove their own +q or +a. The default of having this off makes inspircd act like it always has (only allow ANY removal of these modes via services or a founder)

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

17 years ago* Fix removal of user modes when unloading the mode letter (this actually works now)
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

17 years agoAdd and document m_hideoper, used to hide oper status from non-opers.
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

17 years agoFix these too!
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

17 years agoAnd fix typo
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

17 years agoAdd 'dest' parameter to OnWhoisLine, contains the user being whois'ed (we need this...
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

17 years agoDont let users set this mode!!!
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

17 years agoFix some next_call stuff
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

17 years agoAdd support for OnWhoisLine, which allows modules to change or drop any line of whois...
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

17 years agoWhoops, wrong linfeed type on ADDLINE in netburst
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

17 years agoNeeds more testing but seems to work: In DoBackgroundUserStuff(), calculate the time...
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

17 years agoDocument <link:timeout>
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

17 years agoAllow admins to set the socket timeout on server connections
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

17 years agoGive this one a go dotslasher, apply to ALL servers
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

17 years agoAnd so does my coding on a saturday afternoon...
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

17 years agoI HATE YOU DEBIAN, YOU AND YOUR WHOLE OPERATION STINK
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

17 years agoTry this, werdnum
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

17 years agoRemove ancient copy-to-tmp system for modules, this is no longer required so long...
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

17 years agoFix for crash, submitted by peaveydk
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

17 years agoUnknown change here
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

17 years agoRemoved a bit of unreachable code I added with the last commit (thanks peaveydk)
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

17 years agoReturn CMD_FAILURE from sajoin when given an invalid nickname (thanks Ares)
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

17 years ago<pid file> is no longer a manditory tag (thanks dotslasher)
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

17 years agoWhen loading, dont try and free the qa modes, we havent allocated them yet
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

17 years agoSmart trick: the 'build complete' message is now a makefile section of its own which...
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

17 years agoHave 'make install' make the directories, its really make install's job and not confi...
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

17 years agoUpdate changelog
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

17 years agoUpdate a little
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

17 years agoRFC1035 - dns rfc
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

17 years agoAllow changing of qaprefixes on the fly with REHASH - if this happens, writeopers...
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

17 years agoremove <filter file> - This is no longer neccessary as we've had includes for quite...
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

17 years agoAllow relative path on pid file
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

17 years agoAllow relative paths for motd and rules (and anything that uses ReadFile)
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

17 years agoTweak hash generation to make it faster
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

17 years agoFix broken GlobalCloneCount (AGAIN).
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

17 years agoAdded unsupported warning for non-interactive configure. WE DONT SUPPORT NON-INTERACTIVE!
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

17 years agoAllow configuring of MAX_DESCRIPTORS by picking max number of clients
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

17 years agoFix this to display the channel name when overriding a ban, and to properly display...
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

17 years agoDon't display this notice on an empty servername (which will happen if an incoming...
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

17 years agoHopefully fix override notices on channel bans, also make the override notice behavio...
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

17 years agoRemove the fucking optimization directive from configure, it's not supported, yet...
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

17 years agoMore missing spaces (and unbreak compile)
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

17 years agoFix bug experienced by satmd, remove space indents + tidy a little
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

17 years agoMerge guestpattern fix by peaveydk
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

17 years agoAdd $ModDep: special comment, similar to $CompileFlags and $LinkerFlags.
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

17 years agoFix unloading of modules that use u_listmode
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

17 years agobanexception, chanfilter, inviteexception: use modestacker to stack modes when the...
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

17 years agoThis needs TESTING: use modestacker when unloading module to group modes.
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

17 years agoGive some actual information when the log file fails to open
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

17 years agoMerge fix by peaveydk which stops crashes when user doesnt auth
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

17 years agoMore stringently fit the RFC1459 BNF diagrams
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

17 years agoMore mirc ball-suckage.
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

17 years agomIRC sucks, and its author does too!
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

17 years agoDelete idents when disconnecting?
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

17 years agoDefault to 5 if none set
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

17 years agoRespect the dns timeout value in the conf
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

17 years agoChange around some dns stuff (dont use this yet)
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

17 years agoTidyup
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

17 years agoCall OnError when timing out
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

17 years agoDNS timeouts missing
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

17 years agoBuffer more stuff up for each write by putting it into larger blocks
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

17 years agoMore sensible way to flush sockets
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

17 years agoMake clever use of modestacker
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

17 years agoMake +beIgqa be sent multiple per line, rather than one per line, using modestacker...
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

17 years agoFix sending bans on sync:
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

17 years agoTweaks to drain socket on write
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

17 years agoOops, memory leaks!
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

17 years agoDont allow people to add censor words containing spaces silently to the censor list...
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