]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoMade the 'force' parameter to BURST and TIMESET uppercase to satisfy the pedantic...
special [Sun, 5 Nov 2006 01:05:01 +0000 (01:05 +0000)]
Made the 'force' parameter to BURST and TIMESET uppercase to satisfy the pedantic brain

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

17 years agoAdded the <options:notimesync> flag to disable time syncing
special [Sun, 5 Nov 2006 01:00:39 +0000 (01:00 +0000)]
Added the <options:notimesync> flag to disable time syncing

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

17 years agoAdded time syncing! This is fairly simple - servers exchange timestamps and use the...
special [Sun, 5 Nov 2006 00:47:08 +0000 (00:47 +0000)]
Added time syncing! This is fairly simple - servers exchange timestamps and use the lowest - but should get rid of the annoying bounces for those of us who can't depend on ntpd.

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

17 years agoone line tweak, if the prefix is empty, dont echo 'unknown prefix' to the debug log
brain [Sat, 4 Nov 2006 22:59:20 +0000 (22:59 +0000)]
one line tweak, if the prefix is empty, dont echo 'unknown prefix' to the debug log

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

17 years agoSmart voodoo to weed out duplicates in a comma seperated list for LoopCall. voooodooo!
brain [Sat, 4 Nov 2006 20:35:30 +0000 (20:35 +0000)]
Smart voodoo to weed out duplicates in a comma seperated list for LoopCall. voooodooo!
Thanks for the suggestion of using std::map, w00tie :)

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

17 years agoFix remote quit notices (some were in the wrong snomask)
brain [Sat, 4 Nov 2006 19:11:46 +0000 (19:11 +0000)]
Fix remote quit notices (some were in the wrong snomask)

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

17 years agoShow ident when expiring g and k lines
brain [Sat, 4 Nov 2006 17:03:36 +0000 (17:03 +0000)]
Show ident when expiring g and k lines

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

17 years agoFix comma-seperated list handling by CommandParser::LoopCall, should fix /amsg etc.
brain [Sat, 4 Nov 2006 16:54:43 +0000 (16:54 +0000)]
Fix comma-seperated list handling by CommandParser::LoopCall, should fix /amsg etc.

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

17 years agoAs requested by satmd, inspircd will now run with no client ports configured
brain [Sat, 4 Nov 2006 13:20:42 +0000 (13:20 +0000)]
As requested by satmd, inspircd will now run with no client ports configured

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

17 years agoMerge peaveys patch, tracker #162
brain [Sat, 4 Nov 2006 11:31:29 +0000 (11:31 +0000)]
Merge peaveys patch, tracker #162

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

17 years agoMerge peaveydk's example conf change.
brain [Fri, 3 Nov 2006 17:21:57 +0000 (17:21 +0000)]
Merge peaveydk's example conf change.
Guess what Om, we broke alphabetical order on purpose!
(actually, it makes sense, sqlauth must come before any sql modules, due to load order, or we're essentially  distributing a broken config file which will confuse users as to why its broken)

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

17 years agoFixed at last.
brain [Fri, 3 Nov 2006 17:18:30 +0000 (17:18 +0000)]
Fixed at last.

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

17 years agoIve been unable to commit this since 9am, somehow port 22 is unusable at work now...
brain [Fri, 3 Nov 2006 16:53:45 +0000 (16:53 +0000)]
Ive been unable to commit this since 9am, somehow port 22 is unusable at work now, even though we need to use it... damn cable and witless.

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

17 years agoTook out a header we needed to keep. Im done stick a fork in me
brain [Fri, 3 Nov 2006 08:35:29 +0000 (08:35 +0000)]
Took out a header we needed to keep. Im done stick a fork in me

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

17 years agoHmm, svn said there was a conflict here, but nobody had committed :/
brain [Fri, 3 Nov 2006 08:33:18 +0000 (08:33 +0000)]
Hmm, svn said there was a conflict here, but nobody had committed :/

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

17 years agoRevert special's sqloper change, nice try but only half a biscuit.
brain [Fri, 3 Nov 2006 08:30:37 +0000 (08:30 +0000)]
Revert special's sqloper change, nice try but only half a biscuit.
With the old fix, it would echo out all the oper failure notices first then try again, annoying all the opers.
The new version uses a CommandParser method i added, to again use OnPreCommand, halt the /oper command, but after doing the sql lookup call the original handler of the OPER command with the original user and pass, so the original handler handles the definitive failure message.

DAMNIT STOP COMMITTING

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

17 years agoSwitched m_sqloper to use OnPostCommand instead of OnPreCommand, meaning the config...
special [Fri, 3 Nov 2006 04:02:29 +0000 (04:02 +0000)]
Switched m_sqloper to use OnPostCommand instead of OnPreCommand, meaning the config tags are checked before MySQL

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

17 years agoFix compile error, and spank Brain
w00t [Fri, 3 Nov 2006 00:18:47 +0000 (00:18 +0000)]
Fix compile error, and spank Brain

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

17 years agoWhen we get an event on a userrec of EVENT_ERROR, and errornum is 0, send the error...
brain [Thu, 2 Nov 2006 21:56:35 +0000 (21:56 +0000)]
When we get an event on a userrec of EVENT_ERROR, and errornum is 0, send the error message "EOF from client" rather than using strerror and getting: Quit (Unknown error: 0)

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

17 years agoPlease in the future everyone: DO NOT submit patches via nopaste. Nopaste is not...
brain [Thu, 2 Nov 2006 20:34:01 +0000 (20:34 +0000)]
Please in the future everyone: DO NOT submit patches via nopaste. Nopaste is not designed for this, and mangles your patch so we cant apply it. gzip it instead!

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

17 years agoApply patch by satmd which performs ipv4 lookup on 4in6 users
brain [Thu, 2 Nov 2006 20:23:04 +0000 (20:23 +0000)]
Apply patch by satmd which performs ipv4 lookup on 4in6 users

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

17 years agoSomeone forgot to add m_alltime to the example conf :p
brain [Thu, 2 Nov 2006 19:25:55 +0000 (19:25 +0000)]
Someone forgot to add m_alltime to the example conf :p

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

17 years agoMore pipe. Everyone likes pipe
brain [Thu, 2 Nov 2006 18:17:29 +0000 (18:17 +0000)]
More pipe. Everyone likes pipe

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

17 years agoThis is tidier, we dont need a seperate bool and int
brain [Thu, 2 Nov 2006 18:11:22 +0000 (18:11 +0000)]
This is tidier, we dont need a seperate bool and int

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

17 years agoLoadModule will now also return false if the glob pattern matches no modules and...
brain [Thu, 2 Nov 2006 18:07:23 +0000 (18:07 +0000)]
LoadModule will now also return false if the glob pattern matches no modules and loads nothing

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

17 years agoAllow wildcards in LoadModule calls. If a filename contains either * or ? it will...
brain [Thu, 2 Nov 2006 18:06:03 +0000 (18:06 +0000)]
Allow wildcards in LoadModule calls. If a filename contains either * or ? it will attempt to readdir() the currently configured module dir and load all modules which match.
If any one module fails, LoadModule then returns false.

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

17 years agoAdded m_alltime
special [Thu, 2 Nov 2006 17:44:18 +0000 (17:44 +0000)]
Added m_alltime

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

17 years agoAdded the send_push event to m_spanningtree (send raw text to a remote user)
special [Wed, 1 Nov 2006 21:41:07 +0000 (21:41 +0000)]
Added the send_push event to m_spanningtree (send raw text to a remote user)

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

17 years agoNew events for special. Event id's "new_server" and "lost_server". The data is a...
brain [Wed, 1 Nov 2006 17:38:35 +0000 (17:38 +0000)]
New events for special. Event id's "new_server" and "lost_server". The data is a pointer to a char* containing the server name.
Eventally, i might expand this to include more data about the server such as its 'gecos' field etc, but not just yet. Let me know what data you want first.
Event source is valid and will point at the protocol module.

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

17 years agoFixed another overflow, identical to the last one
special [Wed, 1 Nov 2006 17:10:15 +0000 (17:10 +0000)]
Fixed another overflow, identical to the last one

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

17 years agoFixed a little overflow, noticed by satmd
special [Wed, 1 Nov 2006 17:01:32 +0000 (17:01 +0000)]
Fixed a little overflow, noticed by satmd

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

17 years agoUpdate this too
brain [Wed, 1 Nov 2006 08:46:02 +0000 (08:46 +0000)]
Update this too

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

17 years agoRemove <helpop file>
brain [Wed, 1 Nov 2006 08:44:18 +0000 (08:44 +0000)]
Remove <helpop file>

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

17 years agoRemove <censor file> directive, we've had <include> for years now, make use of it.
brain [Wed, 1 Nov 2006 08:13:17 +0000 (08:13 +0000)]
Remove <censor file> directive, we've had <include> for years now, make use of it.

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

17 years agoFix broken notice (relatively minor, the notice can be turned off)
brain [Tue, 31 Oct 2006 22:30:58 +0000 (22:30 +0000)]
Fix broken notice (relatively minor, the notice can be turned off)

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

17 years ago1.1.0b4+FartGas. Powerful and strong, and drives back the competition.
brain [Tue, 31 Oct 2006 21:57:21 +0000 (21:57 +0000)]
1.1.0b4+FartGas. Powerful and strong, and drives back the competition.

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

17 years agoDont worry this is only comments, not worth rebuilding for
brain [Tue, 31 Oct 2006 21:19:39 +0000 (21:19 +0000)]
Dont worry this is only comments, not worth rebuilding for

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

17 years agoWe should be fine without oneshot, i'll test this.
brain [Tue, 31 Oct 2006 21:12:01 +0000 (21:12 +0000)]
We should be fine without oneshot, i'll test this.

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

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