]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
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

16 years agoCode for loading <log method=file> tags from config, but this still needs to be fit...
aquanight [Sun, 10 Feb 2008 20:07:30 +0000 (20:07 +0000)]
Code for loading <log method=file> tags from config, but this still needs to be fit into the config reader stuff

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

16 years agoFix case sensitivity
brain [Sun, 10 Feb 2008 19:10:35 +0000 (19:10 +0000)]
Fix case sensitivity

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

16 years agoAdd comments
brain [Sun, 10 Feb 2008 18:37:06 +0000 (18:37 +0000)]
Add comments

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

16 years agoHide ar and ranlib
brain [Sun, 10 Feb 2008 18:24:43 +0000 (18:24 +0000)]
Hide ar and ranlib

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

16 years agoAdd <badchan:redirect>: redirects users attempting to join a bad channel to a second...
w00t [Sun, 10 Feb 2008 18:23:03 +0000 (18:23 +0000)]
Add <badchan:redirect>: redirects users attempting to join a bad channel to a second channel. Contributed by dz. (thanks)

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

16 years agoMore to quiet down. This will be a really tidy looking build for most users now
brain [Sun, 10 Feb 2008 17:27:55 +0000 (17:27 +0000)]
More to quiet down. This will be a really tidy looking build for most users now

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

16 years agoEven tidier
brain [Sun, 10 Feb 2008 17:25:58 +0000 (17:25 +0000)]
Even tidier

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

16 years agoNow very tidy make output, with pretty colours :p
brain [Sun, 10 Feb 2008 17:22:36 +0000 (17:22 +0000)]
Now very tidy make output, with pretty colours :p
(Unless it errors, then you get the full commandline and error output etc)

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

16 years agoReally allow for removal of SWHOIS via specifying blank SWHOIS (thanks for pointing...
w00t [Sun, 10 Feb 2008 15:02:02 +0000 (15:02 +0000)]
Really allow for removal of SWHOIS via specifying blank SWHOIS (thanks for pointing out the mistake, danieldg)

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

16 years agoEach Thread class must have its own thread handle, duh. Someone take away my craqpipe...
brain [Sun, 10 Feb 2008 14:50:38 +0000 (14:50 +0000)]
Each Thread class must have its own thread handle, duh. Someone take away my craqpipe NOW.

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

16 years agoAdd -pthread link flag
brain [Sun, 10 Feb 2008 14:33:30 +0000 (14:33 +0000)]
Add -pthread link flag

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

16 years agoAdd threading engine stuff. Docs to follow, untested and not used anywhere yet
brain [Sun, 10 Feb 2008 14:32:02 +0000 (14:32 +0000)]
Add threading engine stuff. Docs to follow, untested and not used anywhere yet

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

16 years agoCorrectly rewrite bans in 1.2 also, and make zline on nicks actually work.
w00t [Sun, 10 Feb 2008 14:28:01 +0000 (14:28 +0000)]
Correctly rewrite bans in 1.2 also, and make zline on nicks actually work.

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

16 years agoPer-logstream loglevels.
aquanight [Sun, 10 Feb 2008 14:20:58 +0000 (14:20 +0000)]
Per-logstream loglevels.

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

16 years agoAdd dirs (empty right now) for thread engines. For the start, there will be two....
brain [Sun, 10 Feb 2008 13:40:13 +0000 (13:40 +0000)]
Add dirs (empty right now) for thread engines. For the start, there will be two. pthread and win32thread

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

16 years agow00t br0ked it! :p
brain [Sun, 10 Feb 2008 13:33:05 +0000 (13:33 +0000)]
w00t br0ked it! :p

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

16 years agoMove run-cc.pl to make/ directory and update paths, keeps root tidy
brain [Sun, 10 Feb 2008 13:30:59 +0000 (13:30 +0000)]
Move run-cc.pl to make/ directory and update paths, keeps root tidy

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

16 years agoMake K|G|Z|ELine actually work with a nickname target (code was there but not functional)
w00t [Sun, 10 Feb 2008 00:53:05 +0000 (00:53 +0000)]
Make K|G|Z|ELine actually work with a nickname target (code was there but not functional)

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

16 years agoFix a bug in new logging API (global logstreams weren't notified of events if a speci...
w00t [Sat, 9 Feb 2008 21:00:07 +0000 (21:00 +0000)]
Fix a bug in new logging API (global logstreams weren't notified of events if a specific logstream had an event claimed, don't store type in logstreams (pass it to OnLog instead), and add an example of what the new logging API can do: m_chanlog - logs to #services at the moment.

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

16 years agoWarnings yellow, errors red. This will help us pick errors out from warnings in the...
brain [Sat, 9 Feb 2008 20:44:25 +0000 (20:44 +0000)]
Warnings yellow, errors red. This will help us pick errors out from warnings in the output

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

16 years agoImplement LogManager::CloseLogs() to give logstreams a chance to clean up on rehash...
w00t [Sat, 9 Feb 2008 20:15:09 +0000 (20:15 +0000)]
Implement LogManager::CloseLogs() to give logstreams a chance to clean up on rehash or exit.

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

16 years agoImplement bug #492: empty swhois string unsets swhois.
w00t [Sat, 9 Feb 2008 19:51:52 +0000 (19:51 +0000)]
Implement bug #492: empty swhois string unsets swhois.

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

16 years agoAdd destructor for FileLogStream that destroys nonblocking FileLogger
w00t [Sat, 9 Feb 2008 13:18:41 +0000 (13:18 +0000)]
Add destructor for FileLogStream that destroys nonblocking FileLogger

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

16 years agoAdd a printf-type override for LogManager::Log(). We need to find a way to see if...
w00t [Sat, 9 Feb 2008 13:06:02 +0000 (13:06 +0000)]
Add a printf-type override for LogManager::Log(). We need to find a way to see if a log call would have any interest, to avoid unnecessary printf() here though. Convert a bunch of stuff to using new logging (added targets: USERS, USERIO)

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

16 years agoUse new logging in bancache
w00t [Sat, 9 Feb 2008 12:44:23 +0000 (12:44 +0000)]
Use new logging in bancache

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

16 years agoNew logging implementation. Also write messages about InspIRCd::Log() being deprecate...
w00t [Sat, 9 Feb 2008 12:41:17 +0000 (12:41 +0000)]
New logging implementation. Also write messages about InspIRCd::Log() being deprecated. Any takers on changing it all to use the new system? :P. STILL TODO: create <log> blocks in config, add a method called to 'cleanup' (or use destructor) of logstreams, add a method to logmanager to initiate destruction of all logstreams.

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

16 years agoInstantiate log manager
w00t [Sat, 9 Feb 2008 11:43:25 +0000 (11:43 +0000)]
Instantiate log manager

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

16 years agoInitial totally untested logger implementation that does nothing.
w00t [Sat, 9 Feb 2008 11:35:27 +0000 (11:35 +0000)]
Initial totally untested logger implementation that does nothing.

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

16 years agoAdd a perl script which will abort compiles for warning messages that don't have...
aquanight [Sat, 9 Feb 2008 01:55:31 +0000 (01:55 +0000)]
Add a perl script which will abort compiles for warning messages that don't have a switch to convert to errors (like the one about non-PODs through ...)

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

16 years agoSupport for /invite <user> <channel> <timeout> - if the user doesn't partake in ...
aquanight [Fri, 8 Feb 2008 23:35:39 +0000 (23:35 +0000)]
Support for /invite <user> <channel> <timeout> - if the user doesn't partake in <timeout> time, the invite expires

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

16 years agoFix low-risk potential memory leak: if a webirc client with valid cgiirc block connec...
w00t [Fri, 8 Feb 2008 22:45:12 +0000 (22:45 +0000)]
Fix low-risk potential memory leak: if a webirc client with valid cgiirc block connects, issues /webirc, and quits before fully connecting, memory will be leaked. OnUserQuit is only triggered for fully connected users, use OnUserDisconnect otherwise.

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

16 years agoSlight speed improvement in WHOing invisible users, insignificant
brain [Fri, 8 Feb 2008 19:48:05 +0000 (19:48 +0000)]
Slight speed improvement in WHOing invisible users, insignificant

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

16 years agogit-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8850 e03df62e-2008...
w00t [Fri, 8 Feb 2008 12:04:46 +0000 (12:04 +0000)]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8850 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoARGH SPACE INDENTS, DIE DIE DIE
brain [Thu, 7 Feb 2008 15:16:19 +0000 (15:16 +0000)]
ARGH SPACE INDENTS, DIE DIE DIE

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

16 years agoSorta update this.. won't give a full file list as it's now kinda huge.
w00t [Thu, 7 Feb 2008 09:13:56 +0000 (09:13 +0000)]
Sorta update this.. won't give a full file list as it's now kinda huge.

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

16 years agoRework the suggested logger implementation to one that doesn't suck donkey and flesh...
w00t [Wed, 6 Feb 2008 22:29:17 +0000 (22:29 +0000)]
Rework the suggested logger implementation to one that doesn't suck donkey and flesh it out a little more. I actually think this is a workable idea now, and I might start on it sometime soon. :-)

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

16 years agoWon't somebody please think of the children.. kqueue too ;(
w00t [Wed, 6 Feb 2008 19:27:26 +0000 (19:27 +0000)]
Won't somebody please think of the children.. kqueue too ;(

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

16 years agoepoll did it too. >:(
w00t [Wed, 6 Feb 2008 19:26:42 +0000 (19:26 +0000)]
epoll did it too. >:(

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

16 years agoPro tip #2: making a fatal error 'SPARSE' logging only is a bit silly.
w00t [Wed, 6 Feb 2008 19:20:27 +0000 (19:20 +0000)]
Pro tip #2: making a fatal error 'SPARSE' logging only is a bit silly.

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

16 years agoPro tip: printf() doesn't add newlines for you
w00t [Wed, 6 Feb 2008 19:19:12 +0000 (19:19 +0000)]
Pro tip: printf() doesn't add newlines for you

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

16 years agoFix warnings (thanks owine)
w00t [Wed, 6 Feb 2008 16:18:39 +0000 (16:18 +0000)]
Fix warnings (thanks owine)

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

16 years agoAdd <auditorium:operoverride> setting, based on patch contributed by Sm0ke0ut
w00t [Wed, 6 Feb 2008 15:13:47 +0000 (15:13 +0000)]
Add <auditorium:operoverride> setting, based on patch contributed by Sm0ke0ut

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

16 years agoMore tweaks
brain [Tue, 5 Feb 2008 23:52:51 +0000 (23:52 +0000)]
More tweaks

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

16 years agoThis makes more sense
brain [Tue, 5 Feb 2008 23:34:57 +0000 (23:34 +0000)]
This makes more sense

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

16 years agoAdd server.cpp, handles all stuff related to the server command. treesocket2.cpp...
w00t [Tue, 5 Feb 2008 15:16:20 +0000 (15:16 +0000)]
Add server.cpp, handles all stuff related to the server command. treesocket2.cpp is now ~700 lines :-)

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