]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
16 years agoDebug removal
brain [Fri, 22 Feb 2008 18:24:37 +0000 (18:24 +0000)]
Debug removal

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

16 years agoForgot to initialize critical section. somehow, the new logging code exposed this...
brain [Fri, 22 Feb 2008 18:17:48 +0000 (18:17 +0000)]
Forgot to initialize critical section. somehow, the new logging code exposed this error???

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

16 years agoffs
brain [Fri, 22 Feb 2008 17:55:10 +0000 (17:55 +0000)]
ffs

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

16 years agoException handling
brain [Fri, 22 Feb 2008 17:50:19 +0000 (17:50 +0000)]
Exception handling

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

16 years agow00t broke it :p
brain [Fri, 22 Feb 2008 17:45:27 +0000 (17:45 +0000)]
w00t broke it :p

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

16 years agoConvert remaining InspIRCd::Log() calls to new logging system
aquanight [Fri, 22 Feb 2008 16:47:10 +0000 (16:47 +0000)]
Convert remaining InspIRCd::Log() calls to new logging system

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

16 years ago9000 ;p
w00t [Fri, 22 Feb 2008 16:42:39 +0000 (16:42 +0000)]
9000 ;p

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

16 years agoAdd a note about interfaces that may be useful
w00t [Fri, 22 Feb 2008 16:42:02 +0000 (16:42 +0000)]
Add a note about interfaces that may be useful

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

16 years agoNuke TIMESYNC from orbit \o/
w00t [Fri, 22 Feb 2008 16:40:02 +0000 (16:40 +0000)]
Nuke TIMESYNC from orbit \o/

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

16 years agosomeone forgot to add all the new m_spanningtree files to the project too :p
brain [Fri, 22 Feb 2008 15:46:14 +0000 (15:46 +0000)]
someone forgot to add all the new m_spanningtree files to the project too :p

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

16 years agoAdd mutex wrappers
brain [Fri, 22 Feb 2008 15:33:41 +0000 (15:33 +0000)]
Add mutex wrappers

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

16 years agoAdd mutex wrappers
brain [Fri, 22 Feb 2008 15:33:32 +0000 (15:33 +0000)]
Add mutex wrappers

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

16 years agoWho left out socketengine_select from the vc80 project in trunk? goes to show how...
brain [Fri, 22 Feb 2008 15:27:09 +0000 (15:27 +0000)]
Who left out socketengine_select from the vc80 project in trunk? goes to show how often we build it :p

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

16 years agoNow compiles with win32thread and testsuite
brain [Fri, 22 Feb 2008 15:26:01 +0000 (15:26 +0000)]
Now compiles with win32thread and testsuite

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

16 years agoCloser to compilation
brain [Fri, 22 Feb 2008 15:15:33 +0000 (15:15 +0000)]
Closer to compilation

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

16 years agoConfigure macros not needed here
brain [Fri, 22 Feb 2008 15:11:43 +0000 (15:11 +0000)]
Configure macros not needed here

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

16 years agoWin32ThreadEngine makes sense now. No gaurantees it compiles yet.
brain [Fri, 22 Feb 2008 15:08:41 +0000 (15:08 +0000)]
Win32ThreadEngine makes sense now. No gaurantees it compiles yet.

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

16 years agoAdd extra stuff to compile threadengine_win32.cpp
brain [Fri, 22 Feb 2008 14:49:58 +0000 (14:49 +0000)]
Add extra stuff to compile threadengine_win32.cpp

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

16 years agoThese are just copies of the pthread engine right now, will probably make them work...
brain [Thu, 21 Feb 2008 21:41:20 +0000 (21:41 +0000)]
These are just copies of the pthread engine right now, will probably make them work tomorrow night

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

16 years agoChange of configure message to plainer english as requested by voidzero
brain [Thu, 21 Feb 2008 20:34:25 +0000 (20:34 +0000)]
Change of configure message to plainer english as requested by voidzero

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

16 years agoThreadEngine::GetName(), for display in /version
brain [Thu, 21 Feb 2008 17:59:26 +0000 (17:59 +0000)]
ThreadEngine::GetName(), for display in /version

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

16 years agoMake the output for the test run a bit neater
brain [Thu, 21 Feb 2008 17:32:00 +0000 (17:32 +0000)]
Make the output for the test run a bit neater

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

16 years agoWorking thread test!!!
brain [Thu, 21 Feb 2008 17:27:55 +0000 (17:27 +0000)]
Working thread test!!!

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

16 years agoNow buildble.
brain [Thu, 21 Feb 2008 17:11:31 +0000 (17:11 +0000)]
Now buildble.

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

16 years agoMore fixes
brain [Thu, 21 Feb 2008 17:09:31 +0000 (17:09 +0000)]
More fixes

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

16 years agoThreadengine stuff
brain [Thu, 21 Feb 2008 17:06:20 +0000 (17:06 +0000)]
Threadengine stuff

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

16 years agoTestsuite now does something
brain [Thu, 21 Feb 2008 16:32:38 +0000 (16:32 +0000)]
Testsuite now does something

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

16 years agoEven more
brain [Thu, 21 Feb 2008 16:16:10 +0000 (16:16 +0000)]
Even more

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

16 years agoTestsuite stuff and fixes
brain [Thu, 21 Feb 2008 16:10:32 +0000 (16:10 +0000)]
Testsuite stuff and fixes

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

16 years agoMore test suite stuff
brain [Thu, 21 Feb 2008 15:59:57 +0000 (15:59 +0000)]
More test suite stuff

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

16 years agoTestsuite stuff
brain [Thu, 21 Feb 2008 15:49:32 +0000 (15:49 +0000)]
Testsuite stuff

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

16 years agoThe issue from stable does not exist here, because we initialize userrec::quietquit...
brain [Thu, 21 Feb 2008 14:56:30 +0000 (14:56 +0000)]
The issue from stable does not exist here, because we initialize userrec::quietquit to false in QuitUser (we didnt in stable) however it makes sense to also init this in the ctor

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

16 years agoWheee, mass commit! this adds const stafety, throwing a compile error if anyone does...
brain [Wed, 20 Feb 2008 19:07:07 +0000 (19:07 +0000)]
Wheee, mass commit! this adds const stafety, throwing a compile error if anyone does: "parameters[n] = blahvar;" in a command handler etc. where they REALLY SHOULD NOT fuck with the value and should
copy the pointer.

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

16 years agoSeems trivial now, looking at it. Still to test then will commit to trunk.
brain [Wed, 20 Feb 2008 18:08:08 +0000 (18:08 +0000)]
Seems trivial now, looking at it. Still to test then will commit to trunk.

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

16 years agoA module looks left out?
brain [Mon, 18 Feb 2008 18:26:26 +0000 (18:26 +0000)]
A module looks left out?

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

16 years agoChange defaults to ones that match our stable build
brain [Mon, 18 Feb 2008 18:12:12 +0000 (18:12 +0000)]
Change defaults to ones that match our stable build

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

16 years agoPhew. Fix a bunch of method sigs to stop warnings.
w00t [Mon, 18 Feb 2008 17:37:35 +0000 (17:37 +0000)]
Phew. Fix a bunch of method sigs to stop warnings.

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

16 years agoFix this first, as this actually has use of the new parameter same as cmode_b.cpp...
brain [Mon, 18 Feb 2008 17:03:45 +0000 (17:03 +0000)]
Fix this first, as this actually has use of the new parameter same as cmode_b.cpp does

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

16 years agoSomeone please help me fix the warnings in modules caused by this change. All mode...
brain [Mon, 18 Feb 2008 16:55:27 +0000 (16:55 +0000)]
Someone please help me fix the warnings in modules caused by this change. All mode handler OnMode events, ModeWatcher::BeforeMode/AfterMode, plus OnRawMode now have a bool servermode parameter

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

16 years agoMerge in patch by Darom that fixes race condition when unloading m_mysql.so that...
brain [Mon, 18 Feb 2008 15:25:54 +0000 (15:25 +0000)]
Merge in patch by Darom that fixes race condition when unloading m_mysql.so that may cause it to crash, fixes bug #438

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

16 years agoThis is all just odd. what can we expect?
brain [Sun, 17 Feb 2008 22:56:29 +0000 (22:56 +0000)]
This is all just odd. what can we expect?

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

16 years agoImplement logtype exclusion (ie: '* -USERINPUT -USEROUTPUT' to mean everything except...
aquanight [Sun, 17 Feb 2008 19:09:03 +0000 (19:09 +0000)]
Implement logtype exclusion (ie: '* -USERINPUT -USEROUTPUT' to mean everything except USER{INPUT,OUTPUT}), also pretty up and expand on the documentation in LogManager

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

16 years agoAdd some docs
w00t [Sun, 17 Feb 2008 14:37:34 +0000 (14:37 +0000)]
Add some docs

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

16 years agoMake log targets in config space-seperated (ie: 'USERINPUT USEROUTPUT') like the...
aquanight [Sun, 17 Feb 2008 14:16:02 +0000 (14:16 +0000)]
Make log targets in config space-seperated (ie: 'USERINPUT USEROUTPUT') like the rest of the config, instead of comma-seperated

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

16 years agow00t pointed out it needs doing here too
brain [Sun, 17 Feb 2008 00:27:34 +0000 (00:27 +0000)]
w00t pointed out it needs doing here too

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

16 years agoI gots a better fix :p
brain [Sun, 17 Feb 2008 00:26:15 +0000 (00:26 +0000)]
I gots a better fix :p

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

16 years agoAdd empty testcase.h
brain [Sun, 17 Feb 2008 00:08:05 +0000 (00:08 +0000)]
Add empty testcase.h

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

16 years agoSeperate USERIO into USERINPUT and USEROUTPUT
brain [Sun, 17 Feb 2008 00:05:02 +0000 (00:05 +0000)]
Seperate USERIO into USERINPUT and USEROUTPUT

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

16 years agoBackport SendXLines() fix on netburst (don't buffer loads of lines at once), and...
w00t [Sat, 16 Feb 2008 21:36:35 +0000 (21:36 +0000)]
Backport SendXLines() fix on netburst (don't buffer loads of lines at once), and fix: don't propegate K:Lines on netburst

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

16 years agoPatch by dz avoiding <badchan:redirect> loops, and tidying up on-rehash checks.
w00t [Sat, 16 Feb 2008 13:29:56 +0000 (13:29 +0000)]
Patch by dz avoiding <badchan:redirect> loops, and tidying up on-rehash checks.

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

16 years agoMerge warning about InspIRCd::Log()
aquanight [Fri, 15 Feb 2008 21:00:33 +0000 (21:00 +0000)]
Merge warning about InspIRCd::Log()

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

16 years agoMake -nofork work properly with logging now.
aquanight [Fri, 15 Feb 2008 13:30:46 +0000 (13:30 +0000)]
Make -nofork work properly with logging now.

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

16 years agoChange string for Om <3
brain [Thu, 14 Feb 2008 19:33:14 +0000 (19:33 +0000)]
Change string for Om <3

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

16 years agoMake AC_OTHERMODE OnAccessCheck call work again.
brain [Thu, 14 Feb 2008 19:32:48 +0000 (19:32 +0000)]
Make AC_OTHERMODE OnAccessCheck call work again.

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

16 years agoIf the mode defined by the handler is not '\0', but the handler for it
brain [Thu, 14 Feb 2008 19:12:44 +0000 (19:12 +0000)]
If the mode defined by the handler is not '\0', but the handler for it
cannot be found, they probably dont have the right module loaded to implement
the prefix they want to compare the mode against, e.g. '&' for m_chanprotect.
Revert to checking against the minimum core prefix, '%'.

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

16 years agoReword the failure message to read a little better
brain [Thu, 14 Feb 2008 19:08:16 +0000 (19:08 +0000)]
Reword the failure message to read a little better

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

16 years agoDuh, wasnt working when the user had NO prefixes at all!
brain [Thu, 14 Feb 2008 19:04:44 +0000 (19:04 +0000)]
Duh, wasnt working when the user had NO prefixes at all!

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

16 years agoThat was REALLY dumb. Due to a stupid kludge i did, there was duplicate code and...
brain [Thu, 14 Feb 2008 18:57:59 +0000 (18:57 +0000)]
That was REALLY dumb. Due to a stupid kludge i did, there was duplicate code and the new permissions stuff was only working against modes with params!

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

16 years agoAs a final test of this, set the permissions required to set channel mode +h to be '@'
brain [Thu, 14 Feb 2008 18:46:16 +0000 (18:46 +0000)]
As a final test of this, set the permissions required to set channel mode +h to be '@'

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

16 years agoAll working now, with any luck
brain [Thu, 14 Feb 2008 18:44:52 +0000 (18:44 +0000)]
All working now, with any luck

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

16 years agoNew mode stuff. Note, the framework is now here so that every mode handler can state...
brain [Thu, 14 Feb 2008 18:24:28 +0000 (18:24 +0000)]
New mode stuff. Note, the framework is now here so that every mode handler can state what prefix is required to execute it. For example: You can say that mode +j needs '%' to execute it, so that
then only a halfop or above can use mode +j. If you put '@' in this member value, only ops and above can use it. The OnRawMode can return ACR_ALLOW on a case by case basis to totally override this
check against the prefix char. If you return ACR_DEFAULT the check goes ahead.

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

16 years agoSomebody *eyes a certain norwegian wannabe* defined two commands called WATCH... O_o
brain [Thu, 14 Feb 2008 17:11:34 +0000 (17:11 +0000)]
Somebody *eyes a certain norwegian wannabe* defined two commands called WATCH... O_o

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

16 years agoKeep count of the number of events in total, and seperate read, write and error event...
brain [Thu, 14 Feb 2008 16:49:22 +0000 (16:49 +0000)]
Keep count of the number of events in total, and seperate read, write and error event counters. We can use this for monitoring of heavy socket engine activity, e.g. a 'stuck' eventhandler

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

16 years agoMore OnRawMode fix
w00t [Thu, 14 Feb 2008 12:03:32 +0000 (12:03 +0000)]
More OnRawMode fix

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

16 years agoHopefully fix behaviour of OnRawMode
w00t [Thu, 14 Feb 2008 11:52:06 +0000 (11:52 +0000)]
Hopefully fix behaviour of OnRawMode

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

16 years agoChange the Implementation list size from a sizeof which worked by fluke to just havin...
om [Thu, 14 Feb 2008 11:44:36 +0000 (11:44 +0000)]
Change the Implementation list size from a sizeof which worked by fluke to just having a int constant in source

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

16 years agoFix timer crashes: relying on an iterator after adding to/resorting the vector probab...
w00t [Thu, 14 Feb 2008 08:21:32 +0000 (08:21 +0000)]
Fix timer crashes: relying on an iterator after adding to/resorting the vector probably isn't bright

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

16 years agoMore <log> stuff
aquanight [Thu, 14 Feb 2008 00:43:48 +0000 (00:43 +0000)]
More <log> stuff

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

16 years agoPatch provided by danieldg for fixing 3-figure versions in configure
brain [Wed, 13 Feb 2008 19:23:01 +0000 (19:23 +0000)]
Patch provided by danieldg for fixing 3-figure versions in configure

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

16 years agoFix my compile error.
w00t [Wed, 13 Feb 2008 18:39:16 +0000 (18:39 +0000)]
Fix my compile error.

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

16 years agoMore fixes to configure stability with undefined values/closed filehandles
brain [Wed, 13 Feb 2008 18:30:38 +0000 (18:30 +0000)]
More fixes to configure stability with undefined values/closed filehandles

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

16 years agoThis should fix the error owine was getting in configure (THANKS strict) :P
brain [Wed, 13 Feb 2008 18:28:48 +0000 (18:28 +0000)]
This should fix the error owine was getting in configure (THANKS strict) :P

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

16 years agoCommit patch from danieldg that makes a ton of stuff const-safe for latest warn-happy...
brain [Wed, 13 Feb 2008 18:22:19 +0000 (18:22 +0000)]
Commit patch from danieldg that makes a ton of stuff const-safe for latest warn-happy trigger-happy gcc4 (thanks)

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

16 years agoThis doesn't need to be inside the loop. There is only one IP for (potentially) multi...
w00t [Wed, 13 Feb 2008 18:06:39 +0000 (18:06 +0000)]
This doesn't need to be inside the loop. There is only one IP for (potentially) multiple ports, after all..

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

16 years agoCONSTIFY\!
w00t [Wed, 13 Feb 2008 16:20:05 +0000 (16:20 +0000)]
CONSTIFY\!

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

16 years agoFix a silly crash I caused.
w00t [Wed, 13 Feb 2008 16:14:54 +0000 (16:14 +0000)]
Fix a silly crash I caused.

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

16 years agoSlight API tweak. Change Command to take char * instead of char in it's constructor...
w00t [Wed, 13 Feb 2008 10:39:25 +0000 (10:39 +0000)]
Slight API tweak. Change Command to take char * instead of char in it's constructor, this avoids confusion/generates a compile error if someone mixes up flags with number of params, instead of working but not working as expected in a weird manner.

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

16 years agoSupport \* in silence flags, do the same thing as a(ll) flag.
w00t [Tue, 12 Feb 2008 22:47:45 +0000 (22:47 +0000)]
Support \* in silence flags, do the same thing as a(ll) flag.

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

16 years agoAdd SVSWATCH command: services may issue it to modify the watch list of a client...
w00t [Tue, 12 Feb 2008 22:26:07 +0000 (22:26 +0000)]
Add SVSWATCH command: services may issue it to modify the watch list of a client. Syntax: :sender SVSWATCH user watchcraphere

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

16 years agoHA, that did it
brain [Tue, 12 Feb 2008 15:40:56 +0000 (15:40 +0000)]
HA, that did it

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

16 years agoapparently ar -s is equivalent to ranlib, except it doesnt have a fucking noisy non...
brain [Tue, 12 Feb 2008 15:36:37 +0000 (15:36 +0000)]
apparently ar -s is equivalent to ranlib, except it doesnt have a fucking noisy non-redirectable message :P

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

16 years ago-Wshadow fixes
brain [Tue, 12 Feb 2008 15:26:29 +0000 (15:26 +0000)]
-Wshadow fixes

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

16 years agoBackport r8910: oper quit message would be blank
w00t [Tue, 12 Feb 2008 10:43:47 +0000 (10:43 +0000)]
Backport r8910: oper quit message would be blank

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

16 years agoFix missing user->nick in m_callerid
aquanight [Tue, 12 Feb 2008 09:30:11 +0000 (09:30 +0000)]
Fix missing user->nick in m_callerid

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

16 years ago-Wshadow fixes for some modules in extra/
aquanight [Tue, 12 Feb 2008 01:42:11 +0000 (01:42 +0000)]
-Wshadow fixes for some modules in extra/

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

16 years agoTidy up run-cc step display
aquanight [Tue, 12 Feb 2008 01:22:19 +0000 (01:22 +0000)]
Tidy up run-cc step display

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

16 years agoAdd (empty) testsuite.cpp
brain [Mon, 11 Feb 2008 15:28:06 +0000 (15:28 +0000)]
Add (empty) testsuite.cpp

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

16 years agoFix trampling on memory in Z/G/K/ELine.
w00t [Mon, 11 Feb 2008 13:04:13 +0000 (13:04 +0000)]
Fix trampling on memory in Z/G/K/ELine.

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

16 years agoMove most of startup process to use new logging, adds target 'STARTUP'
w00t [Mon, 11 Feb 2008 11:31:19 +0000 (11:31 +0000)]
Move most of startup process to use new logging, adds target 'STARTUP'

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

16 years ago-Woverloaded-virtual fixes
w00t [Mon, 11 Feb 2008 11:20:48 +0000 (11:20 +0000)]
-Woverloaded-virtual fixes

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

16 years agoAdd -Woverloaded-virtual (fixes to follow)
w00t [Mon, 11 Feb 2008 11:08:41 +0000 (11:08 +0000)]
Add -Woverloaded-virtual (fixes to follow)

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

16 years agoFix: Extra duplication of InspIRCd * is not necessary.
w00t [Mon, 11 Feb 2008 10:55:40 +0000 (10:55 +0000)]
Fix: Extra duplication of InspIRCd * is not necessary.

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

16 years agoRemove many unneeded headers from spanningtree files
w00t [Mon, 11 Feb 2008 10:35:31 +0000 (10:35 +0000)]
Remove many unneeded headers from spanningtree files

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

16 years agoLast of the -Wshadow fixes.
w00t [Mon, 11 Feb 2008 10:26:18 +0000 (10:26 +0000)]
Last of the -Wshadow fixes.

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

16 years agoMore -Wshadow fixes.. not really finished yet
w00t [Mon, 11 Feb 2008 09:45:44 +0000 (09:45 +0000)]
More -Wshadow fixes.. not really finished yet

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

16 years agoAdd -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a note...
w00t [Mon, 11 Feb 2008 09:41:58 +0000 (09:41 +0000)]
Add -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a note to webirc that needs looking at.

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

16 years agoTidy up run-cc error reporting (eg: only say 'An error occured' once, and make it...
aquanight [Mon, 11 Feb 2008 01:39:09 +0000 (01:39 +0000)]
Tidy up run-cc error reporting (eg: only say 'An error occured' once, and make it show before an include stack or 'In ctor/dtor/method/function' message)

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

16 years agoFix here too, to allow FD_SETSIZE > 64. If this doesnt work it will need to be set...
brain [Sun, 10 Feb 2008 23:30:31 +0000 (23:30 +0000)]
Fix here too, to allow FD_SETSIZE > 64. If this doesnt work it will need to be set with /D on the commandline, but it looks like this is the best place to put it in an include (earliest possible place)

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

16 years agoFix m_chanlog crashing.
aquanight [Sun, 10 Feb 2008 22:51:01 +0000 (22:51 +0000)]
Fix m_chanlog crashing.

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

16 years agoBrainfart
brain [Sun, 10 Feb 2008 21:57:42 +0000 (21:57 +0000)]
Brainfart

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