]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
16 years agoAdd skeleton functions for UID stuff.
w00t [Sun, 26 Aug 2007 23:07:06 +0000 (23:07 +0000)]
Add skeleton functions for UID stuff.

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

16 years agoBump ABI version and protocol version. Note that this really means 1.1 and 1.2 are...
w00t [Sun, 26 Aug 2007 21:59:41 +0000 (21:59 +0000)]
Bump ABI version and protocol version. Note that this really means 1.1 and 1.2 are diverged now, and won't link/load modules of each other. This is in preperation for me (possibly) messing with UID in trunk.

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

16 years agoMake this compile, was missing a (
peavey [Sun, 26 Aug 2007 21:57:47 +0000 (21:57 +0000)]
Make this compile, was missing a (

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

16 years agoAdd 'you are banned' numeric to banredirect output, from avenger's patch
w00t [Sun, 26 Aug 2007 21:18:34 +0000 (21:18 +0000)]
Add 'you are banned' numeric to banredirect output, from avenger's patch

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

16 years agoAdded new announceinvite setting i discussed briefly with w00t and i like myself:
brain [Sun, 26 Aug 2007 21:15:47 +0000 (21:15 +0000)]
Added new announceinvite setting i discussed briefly with w00t and i like myself:
#                  The value 'dynamic' varies between 'ops' and 'all' #
#                  settings depending on if the channel is +i or not. #
#                  When the channel is +i, messages go only to ops,   #
#                  and when the channel is not +i, messages go to     #
#                  everyone. In short, the messages will go to every  #
#                  user who has power of INVITE on the channel. This  #
#                  is the recommended setting.                        #

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

16 years agoHide remote oper up notices if quiet bursts are enabled etc. Adapted from avenger...
w00t [Sun, 26 Aug 2007 21:13:14 +0000 (21:13 +0000)]
Hide remote oper up notices if quiet bursts are enabled etc. Adapted from avenger's patch. Untested.

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

16 years agoProper fix for end-of-list numerics on restricted lists in bug #386, rather than...
brain [Sun, 26 Aug 2007 21:01:04 +0000 (21:01 +0000)]
Proper fix for end-of-list numerics on restricted lists in bug #386, rather than a hackish nonmodular one.

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

16 years agoAdd option to set invite announcements to nobody, ops only, or all users, based on...
brain [Sun, 26 Aug 2007 20:43:15 +0000 (20:43 +0000)]
Add option to set invite announcements to nobody, ops only, or all users, based on options:announceinvites. Part of bug #386, should not be backported.

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

16 years agoFix for bug #376 - FEATURE - (sorry w00t) - not backporting to stable.
brain [Sun, 26 Aug 2007 20:14:35 +0000 (20:14 +0000)]
Fix for bug #376 - FEATURE - (sorry w00t) - not backporting to stable.

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

16 years agoAdd m_commonchans.so (documented in example conf, no wiki yet) resolves bug #342...
brain [Sun, 26 Aug 2007 20:01:15 +0000 (20:01 +0000)]
Add m_commonchans.so (documented in example conf, no wiki yet) resolves bug #342 feature request by Casey

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

16 years agoRevised fix for bug #367 pointed out during qa by owine, thanks :)
brain [Sun, 26 Aug 2007 16:59:00 +0000 (16:59 +0000)]
Revised fix for bug #367 pointed out during qa by owine, thanks :)

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

16 years agoDocument ModuleSpanningTree::RemoteMessage. Maybe useful for other stuff.
brain [Sun, 26 Aug 2007 16:55:38 +0000 (16:55 +0000)]
Document ModuleSpanningTree::RemoteMessage. Maybe useful for other stuff.

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

16 years agoRouting failure messages back where they came from on /rconnect
brain [Sun, 26 Aug 2007 16:49:12 +0000 (16:49 +0000)]
Routing failure messages back where they came from on /rconnect

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

16 years agoImplement bug #396, feature request from Bricker
brain [Sat, 25 Aug 2007 11:26:44 +0000 (11:26 +0000)]
Implement bug #396, feature request from Bricker

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

16 years agoFix for bug #397
brain [Sat, 25 Aug 2007 11:12:44 +0000 (11:12 +0000)]
Fix for bug #397

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

16 years agoAdd 'require 5.8.0' to the very top of every module to make the failure message when...
brain [Sat, 25 Aug 2007 10:36:20 +0000 (10:36 +0000)]
Add 'require 5.8.0' to the very top of every module to make the failure message when you run an ancient perl a bit more descriptive.

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

16 years agoThe world wont end, but configure might :p
brain [Fri, 24 Aug 2007 16:42:22 +0000 (16:42 +0000)]
The world wont end, but configure might :p

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

16 years agoSlightly better regexps, pointed out by stskeeps
brain [Fri, 24 Aug 2007 16:10:19 +0000 (16:10 +0000)]
Slightly better regexps, pointed out by stskeeps

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

16 years agoSomeone really should fix the blocking connects on windows craq...
brain [Thu, 23 Aug 2007 22:58:37 +0000 (22:58 +0000)]
Someone really should fix the blocking connects on windows craq...

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

16 years agoMove the close() wrapper out of the win32wrapper.h, and into its new proper place...
brain [Thu, 23 Aug 2007 22:30:46 +0000 (22:30 +0000)]
Move the close() wrapper out of the win32wrapper.h, and into its new proper place at SocketEngine::Close()

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

16 years agoDocument all this shit!
brain [Thu, 23 Aug 2007 22:17:20 +0000 (22:17 +0000)]
Document all this shit!

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

16 years agoCraquity craq De-craq!
brain [Thu, 23 Aug 2007 22:06:04 +0000 (22:06 +0000)]
Craquity craq De-craq!
This is probably broken on windows, do not attempt to use there yet unless you like broken stuff. Cant say for sure as i havent even tried to build yet and most likely wont tonight.
--- Abstract most of the berkely socket API out into SocketEngine derived classes. SocketEngine base class implements standard berkely sockets that 'real mens systems' like linux
and freebsd have. For socketengine_iocp we implement the windows specific nonesense like the special things needed for udp and accept (ick).
All this to eliminate a bunch of ifdefs.

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

16 years agoTidyup some duplicated code
brain [Thu, 23 Aug 2007 20:16:18 +0000 (20:16 +0000)]
Tidyup some duplicated code

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

16 years agoMove WSACleanup() into IOCPEngine destructor, eliminating an "#ifdef WIN32" from...
brain [Thu, 23 Aug 2007 20:05:05 +0000 (20:05 +0000)]
Move WSACleanup() into IOCPEngine destructor, eliminating an "#ifdef WIN32" from inspircd.cpp

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

16 years agoRaft of fixes so that inspircd can call Cleanup() and Exit() in less 'stable' circums...
brain [Thu, 23 Aug 2007 19:57:02 +0000 (19:57 +0000)]
Raft of fixes so that inspircd can call Cleanup() and Exit() in less 'stable' circumstances, e.g. when half initialized, and it wont segfault.
Also fix OpenLog to not always exit on error, but to return a bool instead, which is much more friendly on rehash (you don't want /REHASH dieing your server if you cant write the log!)

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

16 years agoFix segfault on 'cant open logfile' on startup, on trying to call Exit. instead just...
brain [Thu, 23 Aug 2007 19:32:59 +0000 (19:32 +0000)]
Fix segfault on 'cant open logfile' on startup, on trying to call Exit. instead just call plain exit() as we're screwed and cant log any unload messages.

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

16 years agoAdd some stuff to change how we process a token sepeperated stream
brain [Thu, 23 Aug 2007 18:06:26 +0000 (18:06 +0000)]
Add some stuff to change how we process a token sepeperated stream

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

16 years agoFix for irc::sepstream for when there are multiple seperators in a row, do not drop...
brain [Thu, 23 Aug 2007 17:17:18 +0000 (17:17 +0000)]
Fix for irc::sepstream for when there are multiple seperators in a row, do not drop the rest of the line, strip the seperators

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

16 years agoSwitch around the two operations in MatchCIDRBits to make negative matches faster...
brain [Thu, 23 Aug 2007 16:35:59 +0000 (16:35 +0000)]
Switch around the two operations in MatchCIDRBits to make negative matches faster (and not change the speed of positive matches)

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

16 years agoBricker said so.
brain [Thu, 23 Aug 2007 16:09:40 +0000 (16:09 +0000)]
Bricker said so.

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

16 years agoWhoops, found a bug in it anyway :p
brain [Tue, 21 Aug 2007 20:08:05 +0000 (20:08 +0000)]
Whoops, found a bug in it anyway :p

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

16 years agoImplement feature in bug #395 reported by stealth, and tidy up a bit
brain [Tue, 21 Aug 2007 18:52:07 +0000 (18:52 +0000)]
Implement feature in bug #395 reported by stealth, and tidy up a bit

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

16 years agoFix for delete-when-we-shouldnt bug similar to what stskeeps found yesterday
brain [Tue, 21 Aug 2007 18:41:24 +0000 (18:41 +0000)]
Fix for delete-when-we-shouldnt bug similar to what stskeeps found yesterday

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

16 years agoChecks for libgnugetopt in /usr/local/lib before continuing
brain [Mon, 20 Aug 2007 21:05:44 +0000 (21:05 +0000)]
Checks for libgnugetopt in /usr/local/lib before continuing

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

16 years agoImprove this a lot
brain [Mon, 20 Aug 2007 20:53:24 +0000 (20:53 +0000)]
Improve this a lot

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

16 years agoExtra stuff so that freebsd 4 may work (needs someone with this OS to test!)
brain [Mon, 20 Aug 2007 20:40:11 +0000 (20:40 +0000)]
Extra stuff so that freebsd 4 may work (needs someone with this OS to test!)

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

16 years agoAdd comments explaining why we have sockaddr[2] so that nobody goes 'w...t..f...'
brain [Mon, 20 Aug 2007 18:35:22 +0000 (18:35 +0000)]
Add comments explaining why we have sockaddr[2] so that nobody goes 'w...t..f...'

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

16 years agoFix a bug i just introduced while playing with the code
brain [Mon, 20 Aug 2007 18:29:27 +0000 (18:29 +0000)]
Fix a bug i just introduced while playing with the code

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

16 years agoThe only possibility for the issue sts found is that a socket is deleted but also...
brain [Mon, 20 Aug 2007 18:02:50 +0000 (18:02 +0000)]
The only possibility for the issue sts found is that a socket is deleted but also ends up in the socket cull list somehow.
To ensure that the socket does not get deleted, remove the delete and replace with an explicit call to insert into the socket cull list.
We were grappling with these issues in early 1.1 with the userrec cull list, too.
NOTE for later 1.2's consider making CullList a base class which we can derive from to delete lists of other items than userrecs.

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

16 years agoAdd a pair of colons which should fix some KILL messages being dropped and fix some...
brain [Mon, 20 Aug 2007 17:09:25 +0000 (17:09 +0000)]
Add a pair of colons which should fix some KILL messages being dropped and fix some desyncs on nick collision

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

16 years agoFixes for m_nicklock desync
brain [Mon, 20 Aug 2007 16:46:42 +0000 (16:46 +0000)]
Fixes for m_nicklock desync

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

16 years agoIncrease max time difference to 600 secs
brain [Mon, 20 Aug 2007 16:41:33 +0000 (16:41 +0000)]
Increase max time difference to 600 secs

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

16 years agoWhoops, i left a value out of the array, and gcc didnt warn!
brain [Mon, 20 Aug 2007 16:21:32 +0000 (16:21 +0000)]
Whoops, i left a value out of the array, and gcc didnt warn!

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

16 years agoWhoops! trunk-only fix to config reader so it doesnt bomb out if you omit an optional tag
brain [Mon, 20 Aug 2007 16:15:38 +0000 (16:15 +0000)]
Whoops! trunk-only fix to config reader so it doesnt bomb out if you omit an optional tag

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

16 years agoFix for bug #393, needs QA and backport
brain [Mon, 20 Aug 2007 00:12:53 +0000 (00:12 +0000)]
Fix for bug #393, needs QA and backport

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

16 years agoAdd <hostchange:ports> to the m_hostchange module to implement feature in bug #363
brain [Sun, 19 Aug 2007 20:52:57 +0000 (20:52 +0000)]
Add <hostchange:ports> to the m_hostchange module to implement feature in bug #363

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

16 years agoAdd <connect:maxchans> as per feature bug #338 - combined with the last feature,...
brain [Sun, 19 Aug 2007 20:14:05 +0000 (20:14 +0000)]
Add <connect:maxchans> as per feature bug #338 - combined with the last feature, this allows per-oper specific maxchans values, and even the same for non-opers!

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

16 years agoAllow changing of an oper's host on oper up using <type:class> (give it a connect...
brain [Sun, 19 Aug 2007 19:23:53 +0000 (19:23 +0000)]
Allow changing of an oper's host on oper up using <type:class> (give it a connect allow or deny line name) - implements bug #367

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

16 years agoDocument connect:parent and connect:name
brain [Sun, 19 Aug 2007 19:09:29 +0000 (19:09 +0000)]
Document connect:parent and connect:name

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

16 years agoAdd <connect:inherit> and <connect:name>
brain [Sun, 19 Aug 2007 19:06:35 +0000 (19:06 +0000)]
Add <connect:inherit> and <connect:name>

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

16 years agoAdd extra stuff to make it work (and compile)
brain [Sun, 19 Aug 2007 17:16:50 +0000 (17:16 +0000)]
Add extra stuff to make it work (and compile)

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

16 years agoAdd some connect class stuff that is required for bug #367 plus some roadmap stuff...
brain [Sun, 19 Aug 2007 17:04:45 +0000 (17:04 +0000)]
Add some connect class stuff that is required for bug #367 plus some roadmap stuff (inherit one connect class from another, etc)

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

16 years agoAdd 'A record' blacklist types. This will probably only go into 1.2, and needs some...
brain [Sun, 19 Aug 2007 16:25:59 +0000 (16:25 +0000)]
Add 'A record' blacklist types. This will probably only go into 1.2, and needs some testing at some point.
Can someone please provide a working example for the wiki page, as i don't know of any such blacklists to test against.

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

16 years agoAllow support for multiple dns results per request. This is a significant change...
brain [Sun, 19 Aug 2007 16:00:57 +0000 (16:00 +0000)]
Allow support for multiple dns results per request. This is a significant change and should probably not be backported to stable.
This will allow for a fix to feature request bug #384

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

16 years agoAdd load warning, as suggested by Bricker
brain [Sun, 19 Aug 2007 15:27:23 +0000 (15:27 +0000)]
Add load warning, as suggested by Bricker

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

16 years agoPick up a few error conditions we didnt before in the config reader, and also increme...
brain [Sun, 19 Aug 2007 14:07:25 +0000 (14:07 +0000)]
Pick up a few error conditions we didnt before in the config reader, and also increment line number correctly when 'real' newline is found in a value

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

16 years agoFix some /who oddities, fixes bug #383 amongst other issues. Nothing serious.
brain [Sun, 19 Aug 2007 13:36:41 +0000 (13:36 +0000)]
Fix some /who oddities, fixes bug #383 amongst other issues. Nothing serious.
Ability to see users who share a common channel with you in /who *wildmask* now.

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

16 years agoAdded proper header handling, persistant connections, and working timeouts to m_httpd
special [Sun, 19 Aug 2007 11:03:27 +0000 (11:03 +0000)]
Added proper header handling, persistant connections, and working timeouts to m_httpd

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

16 years agoImproved compatibility with the JSON-RPC specification; beware, major overhauls are...
special [Sun, 19 Aug 2007 05:29:15 +0000 (05:29 +0000)]
Improved compatibility with the JSON-RPC specification; beware, major overhauls are afoot.

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

16 years agoFixed a crash within the timeout for m_httpd sockets
special [Sun, 19 Aug 2007 05:00:12 +0000 (05:00 +0000)]
Fixed a crash within the timeout for m_httpd sockets

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

16 years agoAdded the <cloak:ipalways> and <cloak:lowercase> options. Patch by nenolod
special [Sat, 18 Aug 2007 14:40:19 +0000 (14:40 +0000)]
Added the <cloak:ipalways> and <cloak:lowercase> options. Patch by nenolod

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

16 years ago* Fixed bug in m_banredirect where removing a ban on a channel with maxbans set would...
burlex [Fri, 17 Aug 2007 19:43:42 +0000 (19:43 +0000)]
* Fixed bug in m_banredirect where removing a ban on a channel with maxbans set would result in a "ban list full" message.

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

16 years agoChange to virtual
w00t [Fri, 17 Aug 2007 14:57:52 +0000 (14:57 +0000)]
Change to  virtual

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

16 years agoFixed bug #390 (broken m_chanprotect noservices)
special [Thu, 16 Aug 2007 05:27:39 +0000 (05:27 +0000)]
Fixed bug #390 (broken m_chanprotect noservices)

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

16 years agoRemoval of ifdef
brain [Wed, 15 Aug 2007 21:44:46 +0000 (21:44 +0000)]
Removal of ifdef

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

16 years agoFixed, i forgot the virtual when implementing this
brain [Wed, 15 Aug 2007 21:26:36 +0000 (21:26 +0000)]
Fixed, i forgot the virtual when implementing this

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

16 years agoThis is now correct.
brain [Wed, 15 Aug 2007 21:25:58 +0000 (21:25 +0000)]
This is now correct.
No win32 #ifdefs in the base class, being as IOCPEngine is only built on windows we can put the code here without the need for ifdef.
The original check in socketengine_iocp was broken, copied burlex's fixed version into the child class

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

16 years ago* include/caller.h will now compile correctly on Windows platforms.
burlex [Wed, 15 Aug 2007 20:41:30 +0000 (20:41 +0000)]
* include/caller.h will now compile correctly on Windows platforms.
+ Implemented gettimeofday in win32 wrapper, link rtt's will now display in milliseconds.
* SocketEngine::BoundsCheckFd will now handle Windows event handler cases correctly. (fixing writing to sockets not working)
* Fixed VC71 project.

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

16 years agoFix small typo found by danieldg
brain [Wed, 15 Aug 2007 18:12:48 +0000 (18:12 +0000)]
Fix small typo found by danieldg

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

16 years agoChanged m_messageflood to use PreMessage and PreNotice, because it may kick the user
special [Wed, 15 Aug 2007 01:39:12 +0000 (01:39 +0000)]
Changed m_messageflood to use PreMessage and PreNotice, because it may kick the user

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

16 years agoFix new millisec /map to compile on windows, by ifndef gettimeofday out reverting...
peavey [Mon, 13 Aug 2007 22:16:41 +0000 (22:16 +0000)]
Fix new millisec /map to compile on windows, by ifndef gettimeofday out reverting back to seconds for latency.

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

16 years agoMore changes from patch. Don't throttle opers due to server load.
w00t [Mon, 13 Aug 2007 12:21:56 +0000 (12:21 +0000)]
More changes from patch. Don't throttle opers due to server load.

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

16 years agoCommit some changes from third party patch. Thanks Avenger and HiroP. Patch review...
w00t [Mon, 13 Aug 2007 12:17:00 +0000 (12:17 +0000)]
Commit some changes from third party patch. Thanks Avenger and HiroP. Patch review is not finished, there may be more changes to come.

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

16 years agoFix this so it works.
brain [Sat, 11 Aug 2007 12:17:07 +0000 (12:17 +0000)]
Fix this so it works.
OBVIOUS WARNING FOR THE DUMB: Dont go overwriting .so files at random to test this, you WILL crash your ircd if you do this improprerly, this is a feature of the linux shared object loader.
If you want to test this, try with:    rm cmd_whatever.so && echo "TESTTEST" >cmd_whatever.so, do NOT just do the echo.

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

16 years agoAllow rehash to attempt to load missing (and new) lib/cmd_*.so files, to allow users...
brain [Sat, 11 Aug 2007 12:05:31 +0000 (12:05 +0000)]
Allow rehash to attempt to load missing (and new) lib/cmd_*.so files, to allow users to fix an emergency situation you can create by trying to reload a corrupt .so without needing a restart

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

16 years agoMake the return codes correct, and allow for LoadCommand without a user pointer
brain [Sat, 11 Aug 2007 11:34:32 +0000 (11:34 +0000)]
Make the return codes correct, and allow for LoadCommand without a user pointer

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

16 years agoProvide error output on failure to load a core command; to console on startup, and...
brain [Sat, 11 Aug 2007 11:29:15 +0000 (11:29 +0000)]
Provide error output on failure to load a core command; to console on startup, and to user on /reload

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

16 years agoFix a typo so it compiles.
peavey [Sat, 11 Aug 2007 08:46:44 +0000 (08:46 +0000)]
Fix a typo so it compiles.

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

16 years agoFix possible sqllog crash (working blind here!) where it could attempt to delete...
brain [Fri, 10 Aug 2007 21:07:41 +0000 (21:07 +0000)]
Fix possible sqllog crash (working blind here!) where it could attempt to delete a pointer without knowing if that pointer was valid. (NEVER EVER use operator[] to lookup a map value, always use ::find())

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

16 years agoFix non-opers using who on themselves when set +i
w00t [Fri, 10 Aug 2007 17:02:20 +0000 (17:02 +0000)]
Fix non-opers using who on themselves when set +i

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

16 years agoPatch from djGrrr that correctly detects epoll on fedora 7, which SMRTly decided...
brain [Thu, 9 Aug 2007 22:00:40 +0000 (22:00 +0000)]
Patch from djGrrr that correctly detects epoll on fedora 7, which SMRTly decided not to put libc.so.6 in /lib, or even symlink /lib to lib64...

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

16 years agoMake sure that dns sockets never block (thanks djGrrr)
brain [Thu, 9 Aug 2007 21:53:56 +0000 (21:53 +0000)]
Make sure that dns sockets never block (thanks djGrrr)

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

16 years agoRemove an un-needed define while I poke around in here
w00t [Thu, 9 Aug 2007 19:49:01 +0000 (19:49 +0000)]
Remove an un-needed define while I poke around in here

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

16 years agoShow <unknown> instead of an empty string on CAPAB failure, spotted by djGrrr
w00t [Thu, 9 Aug 2007 16:39:54 +0000 (16:39 +0000)]
Show <unknown> instead of an empty string on CAPAB failure, spotted by djGrrr

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

16 years agoFix for bug #379 reported by stealth. Trigger watch signon/signoff on +Q and -Q
brain [Thu, 9 Aug 2007 16:20:28 +0000 (16:20 +0000)]
Fix for bug #379 reported by stealth. Trigger watch signon/signoff on +Q and -Q

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

16 years agoFeature request from djGrr, allow changing of server to server ping frequency
brain [Tue, 7 Aug 2007 21:44:44 +0000 (21:44 +0000)]
Feature request from djGrr, allow changing of server to server ping frequency

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

16 years agoCheck for remote and sighup rehashes here, so that it doesnt crash if there are ports...
brain [Tue, 7 Aug 2007 00:19:13 +0000 (00:19 +0000)]
Check for remote and sighup rehashes here, so that it doesnt crash if there are ports that cant be bound

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

16 years agoPart of our fix didnt make it to here!
brain [Mon, 6 Aug 2007 23:35:44 +0000 (23:35 +0000)]
Part of our fix didnt make it to here!

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

16 years agoReset connect class settings on DNS resolution as we should.
w00t [Mon, 6 Aug 2007 19:55:09 +0000 (19:55 +0000)]
Reset connect class settings on DNS resolution as we should.

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

16 years agoFix warning in 4.2 gcc
brain [Mon, 6 Aug 2007 09:16:01 +0000 (09:16 +0000)]
Fix warning in 4.2 gcc

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

16 years agoFix m_deaf not restricting messages from remote users, fixes bug #378 reported by...
w00t [Mon, 6 Aug 2007 07:58:37 +0000 (07:58 +0000)]
Fix m_deaf not restricting messages from remote users, fixes bug #378 reported by Skip

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

16 years agoThis is supported in exemptchanops
w00t [Sun, 5 Aug 2007 22:03:24 +0000 (22:03 +0000)]
This is supported in exemptchanops

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

16 years agoAdd m_nickflood to example conf.
w00t [Sun, 5 Aug 2007 21:55:27 +0000 (21:55 +0000)]
Add m_nickflood to example conf.

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

16 years agoLogic cleanup for chanrec::JoinUser - why I didn't do this the other 3-4 times I...
w00t [Sun, 5 Aug 2007 19:51:57 +0000 (19:51 +0000)]
Logic cleanup for chanrec::JoinUser - why I didn't do this the other 3-4 times I've reworked this I don't know..

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

16 years agoChange latency figures in /map to milliseconds, much more useful for lag measurement...
brain [Sun, 5 Aug 2007 19:22:10 +0000 (19:22 +0000)]
Change latency figures in /map to milliseconds, much more useful for lag measurement than seconds

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

16 years agoFix spelling mistakes on some log messages
w00t [Sun, 5 Aug 2007 18:04:52 +0000 (18:04 +0000)]
Fix spelling mistakes on some log messages

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

16 years agoAdd m_nickflood: Provides usermode +F nickchanges:seconds - allows nickchanges:second...
w00t [Sun, 5 Aug 2007 17:08:40 +0000 (17:08 +0000)]
Add m_nickflood: Provides usermode +F nickchanges:seconds - allows nickchanges:seconds on a per-channel basis before denying further changes by any user on that channel. Requested in bug #325 by Potter. Works with <options:exemptchanops>, too.

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

16 years agoTry this
brain [Sun, 5 Aug 2007 14:43:58 +0000 (14:43 +0000)]
Try this

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

16 years agoFix to trigger the write notification on successful writes, too
brain [Sun, 5 Aug 2007 14:40:16 +0000 (14:40 +0000)]
Fix to trigger the write notification on successful writes, too

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

16 years agoRevert my fix and apply the flushevent, and a bit of debugging output.
peavey [Sun, 5 Aug 2007 14:36:51 +0000 (14:36 +0000)]
Revert my fix and apply the flushevent, and a bit of debugging output.

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