]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoFinally update this
brain [Fri, 10 Nov 2006 18:30:55 +0000 (18:30 +0000)]
Finally update this

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

17 years agoDocument changes to m_filter and m_filter_pcre a little.
brain [Fri, 10 Nov 2006 18:25:53 +0000 (18:25 +0000)]
Document changes to m_filter and m_filter_pcre a little.
Actually add the metadata stuff to Implements()

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

17 years agoImplement on-burst synching of filters
brain [Fri, 10 Nov 2006 18:23:24 +0000 (18:23 +0000)]
Implement on-burst synching of filters

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

17 years agoOops, forgot command source, these wouldnt be able to be unloaded properly
brain [Fri, 10 Nov 2006 17:59:50 +0000 (17:59 +0000)]
Oops, forgot command source, these wouldnt be able to be unloaded properly

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

17 years agoImplement the /filter command. Note that this is currently untested, and propogation...
brain [Fri, 10 Nov 2006 17:54:14 +0000 (17:54 +0000)]
Implement the /filter command. Note that this is currently untested, and propogation of filters between servers on burst isnt implemented yet (This is next on my todo)

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

17 years agoAdd gline type, and <filter:duration> value to say how long to ban for.
brain [Fri, 10 Nov 2006 17:04:06 +0000 (17:04 +0000)]
Add gline type, and <filter:duration> value to say how long to ban for.

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

17 years agoInherit m_filter.cpp and m_filter_pcre.cpp from a base set of classes, so that change...
brain [Fri, 10 Nov 2006 16:34:57 +0000 (16:34 +0000)]
Inherit m_filter.cpp and m_filter_pcre.cpp from a base set of classes, so that changes for /filter command and gline actions etc only need to be made in one place (the base classes header)

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

17 years agoMove peaveydk to core developers, jamie to contributors as he appears to be AWOL...
w00t [Thu, 9 Nov 2006 17:55:24 +0000 (17:55 +0000)]
Move peaveydk to core developers, jamie to contributors as he appears to be AWOL. Well done, peavey. :)

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

17 years agoPatch from peavey to fix GCC3.3 crash correctly, without breaking other stuff randoml...
w00t [Thu, 9 Nov 2006 10:23:55 +0000 (10:23 +0000)]
Patch from peavey to fix GCC3.3 crash correctly, without breaking other stuff randomly (<3.)

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

17 years agoThis should fix the empty iterator crash with gcc3.3 - thanks yet again to peaveydk...
special [Wed, 8 Nov 2006 04:02:05 +0000 (04:02 +0000)]
This should fix the empty iterator crash with gcc3.3 - thanks yet again to peaveydk for spending hours finding the issue and for the patch

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

17 years agoFixed broken syncing for glines and elines using idents - thanks to dotslasher for...
special [Mon, 6 Nov 2006 20:59:10 +0000 (20:59 +0000)]
Fixed broken syncing for glines and elines using idents - thanks to dotslasher for finding and peaveydk for finding the fix

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

17 years agoApply patch for bug #165 (compile warning for users.cpp) by peaveydk
special [Mon, 6 Nov 2006 19:25:58 +0000 (19:25 +0000)]
Apply patch for bug #165 (compile warning for users.cpp) by peaveydk

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

17 years agoFix IPv4 resolution, spank satmd if you were affected by this
w00t [Mon, 6 Nov 2006 01:50:12 +0000 (01:50 +0000)]
Fix IPv4 resolution, spank satmd if you were affected by this

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

17 years agoFixed bug #164 by peaveydk
special [Sun, 5 Nov 2006 21:41:48 +0000 (21:41 +0000)]
Fixed bug #164 by peaveydk

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

17 years agoModified the server-to-server TIME command to report the real time (without delta...
special [Sun, 5 Nov 2006 20:35:33 +0000 (20:35 +0000)]
Modified the server-to-server TIME command to report the real time (without delta), and display the delta in the output from m_alltime

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

17 years agoWhoops, make targets case insensitive when cutting down a comma seperated list
brain [Sun, 5 Nov 2006 14:06:10 +0000 (14:06 +0000)]
Whoops, make targets case insensitive when cutting down a comma seperated list

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

17 years agoOlder gcc gets confused when the only parameter has a default value? O_o
brain [Sun, 5 Nov 2006 12:11:54 +0000 (12:11 +0000)]
Older gcc gets confused when the only parameter has a default value? O_o
Changed an Instance->Time() to Instance->Time(false)

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

17 years agoChange message to indicate that the count only includes client ports
brain [Sun, 5 Nov 2006 12:02:27 +0000 (12:02 +0000)]
Change message to indicate that the count only includes client ports

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

17 years agoFix the 'not all ports could be bound' warning to not count server ports at this...
brain [Sun, 5 Nov 2006 12:01:16 +0000 (12:01 +0000)]
Fix the 'not all ports could be bound' warning to not count server ports at this point

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

17 years agoAdded <options:notimesync> to the example config
special [Sun, 5 Nov 2006 01:18:19 +0000 (01:18 +0000)]
Added <options:notimesync> to the example config

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

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