]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
brain [Sun, 24 Feb 2008 19:41:49 +0000 (19:41 +0000)]
This should fix remote rehash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9030
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Feb 2008 19:08:26 +0000 (19:08 +0000)]
Add some important comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9029
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Feb 2008 19:04:13 +0000 (19:04 +0000)]
Yay, local /rehash is now fixed :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9028
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Feb 2008 19:00:42 +0000 (19:00 +0000)]
Remove annoying debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9027
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Feb 2008 18:52:31 +0000 (18:52 +0000)]
More stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9026
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Feb 2008 18:42:35 +0000 (18:42 +0000)]
Add mutexes to this to make it a bit more threadsafe
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9025
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Feb 2008 17:58:21 +0000 (17:58 +0000)]
I apologise for the 712 space-indented lines i put in here :< *runs*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9024
e03df62e -2008-0410-955e-
edbf42e46eb7
aquanight [Sun, 24 Feb 2008 17:48:23 +0000 (17:48 +0000)]
Put log-switching back into configreader
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9023
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Feb 2008 17:45:21 +0000 (17:45 +0000)]
Allow for 'bail' and 'user' parameters to rehash thread
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9022
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Feb 2008 17:18:15 +0000 (17:18 +0000)]
Theres more to do here. Read the TODOs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9021
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Feb 2008 15:57:21 +0000 (15:57 +0000)]
This craq can go byebye
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9020
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Feb 2008 15:55:23 +0000 (15:55 +0000)]
Rollback complete! Everyone please go through the code and check i havent forgotten to incorporate your tweaks and changes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9019
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Feb 2008 14:54:42 +0000 (14:54 +0000)]
spanningtree now correctly uses OnReadConfig, so its config is AVAILABLE when it comes to read it. No more bitching about missing config tags.
This MIGHT fix the other problem listed in bug #461
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9018
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Feb 2008 14:39:48 +0000 (14:39 +0000)]
No longer crashes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9017
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Feb 2008 14:32:06 +0000 (14:32 +0000)]
This segfaults atm. i'm working on it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9016
e03df62e -2008-0410-955e-
edbf42e46eb7
aquanight [Sun, 24 Feb 2008 14:31:15 +0000 (14:31 +0000)]
Make cmd_*.cpp build to a .so in one step, no intermediate .o
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9015
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Feb 2008 14:18:25 +0000 (14:18 +0000)]
Probably doesnt run
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9014
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 24 Feb 2008 14:09:02 +0000 (14:09 +0000)]
First part of my evil empire! BWAHAHAHAHAHAHAH...HAHAHAHA...AHAHAH *cough* err i mean... remote includes (BWAHAHAHA)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9013
e03df62e -2008-0410-955e-
edbf42e46eb7
aquanight [Sun, 24 Feb 2008 14:07:25 +0000 (14:07 +0000)]
Make run-cc.pl show all sources on multi-source BUILDS (== socketengine and threadengine)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9012
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 22 Feb 2008 21:19:19 +0000 (21:19 +0000)]
CoreExport is required for the factories
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9011
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 22 Feb 2008 19:43:47 +0000 (19:43 +0000)]
Comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9010
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 22 Feb 2008 19:11:43 +0000 (19:11 +0000)]
Add the same thread safety checks to this, now ive got the project as a whole compiling.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9009
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 22 Feb 2008 19:00:25 +0000 (19:00 +0000)]
Change object output filename for spanningtree's server.cpp and modules.cpp files so that STUPID msvc doesnt think theyre duplicates. should work.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9008
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 22 Feb 2008 18:42:21 +0000 (18:42 +0000)]
Thread safety stuff, waiting for pointer to become 'safe' before changing it (e.g. to launch another thread)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9007
e03df62e -2008-0410-955e-
edbf42e46eb7
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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