]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoTrivial fix, extra >s noted by owine
w00t [Mon, 22 Jan 2007 10:33:39 +0000 (10:33 +0000)]
Trivial fix, extra >s noted by owine

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

17 years agoAdd check for openssl >= 0.9.7, and fix for if the library cant be found at all
brain [Sun, 21 Jan 2007 16:29:48 +0000 (16:29 +0000)]
Add check for openssl >= 0.9.7, and fix for if the library cant be found at all

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

17 years agoWhoops put this back to 3.3
brain [Sun, 21 Jan 2007 16:25:48 +0000 (16:25 +0000)]
Whoops put this back to 3.3

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

17 years agoFix broken function vcheck() that checks one dot-delimited version string against...
brain [Sun, 21 Jan 2007 16:25:33 +0000 (16:25 +0000)]
Fix broken function vcheck() that checks one dot-delimited version string against another

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

17 years agoAdd extra macro pkgconfversion("packagename", "version");
brain [Sun, 21 Jan 2007 16:06:10 +0000 (16:06 +0000)]
Add extra macro pkgconfversion("packagename", "version");
dies if the version you specify isnt installed.
Also added to m_sqlite3:   pkgconfversion("sqlite3", "3.3")
Note: this will die at configuration time, not compilation time.

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

17 years agoKeep gcc from whining when there is NOT an error (see the comments added)
brain [Sun, 21 Jan 2007 13:33:24 +0000 (13:33 +0000)]
Keep gcc from whining when there is NOT an error (see the comments added)

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

17 years agoFix library detection flags (bad define put into the ldflags)
brain [Sun, 21 Jan 2007 12:30:21 +0000 (12:30 +0000)]
Fix library detection flags (bad define put into the ldflags)
Change default flags from "-g" to "-O2 -g1". This takes us down from a build size of 350mb+ to 35mb, and still gives us the ability to backtrace! :)

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

17 years agoNote that we dont allow upgrades to version 3 of GPL, just to re-iterate.
brain [Sun, 21 Jan 2007 01:24:28 +0000 (01:24 +0000)]
Note that we dont allow upgrades to version 3 of GPL, just to re-iterate.

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

17 years agoFix bad duplication of filters containing spaces across the network.
brain [Sat, 20 Jan 2007 23:48:24 +0000 (23:48 +0000)]
Fix bad duplication of filters containing spaces across the network.
(filters containing spaces arent strictly allowed because they cant be defined via the /filter command, however we do define them in the config on chatspike so its worth supporting them.
This will now translate space to \7 in the metadata, and translate it back at the receiving end.

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

17 years agoFixed (rewrote) m_http_client's URL parsing, it is now more flexible and.. actually...
special [Sat, 20 Jan 2007 23:34:42 +0000 (23:34 +0000)]
Fixed (rewrote) m_http_client's URL parsing, it is now more flexible and.. actually works.

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

17 years agoFix the commandline stuff up to actually work!
brain [Sat, 20 Jan 2007 22:49:54 +0000 (22:49 +0000)]
Fix the commandline stuff up to actually work!
Also, fix 'locate' detection of files when pkg-config cant find them.

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

17 years agoIf we're not in interactive mode, then we dont prompt interactively for the value.
brain [Sat, 20 Jan 2007 22:33:55 +0000 (22:33 +0000)]
If we're not in interactive mode, then we dont prompt interactively for the value.
We look for the configuration item in the commandline, --$package-includes="" or --$package-libs="" and use that.
If its not defined, we die() with a message to specify the path using that commandline item. This also applies to ./configure -modupdate.

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

17 years agoAdditional feature, pass -DVERSION_PKGCONFMODNAME="xxx" to modules that use the pkgco...
brain [Sat, 20 Jan 2007 22:18:50 +0000 (22:18 +0000)]
Additional feature, pass -DVERSION_PKGCONFMODNAME="xxx" to modules that use the pkgconfig detection macros (the modules can use this if they like)
Extra tweak/fix: Allow for configure cache values containing the = symbol

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

17 years agoAnd fix it so it works
brain [Sat, 20 Jan 2007 22:05:11 +0000 (22:05 +0000)]
And fix it so it works

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

17 years agoBetter detection
brain [Sat, 20 Jan 2007 22:03:42 +0000 (22:03 +0000)]
Better detection

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

17 years agoAdd caching of all detected values :)
brain [Sat, 20 Jan 2007 21:44:48 +0000 (21:44 +0000)]
Add caching of all detected values :)

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

17 years agoProritise cached value above a search
brain [Sat, 20 Jan 2007 21:42:57 +0000 (21:42 +0000)]
Proritise cached value above a search

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

17 years agoFixes to make ./configure prompt for libs if all else fails (discussed earlier with...
brain [Sat, 20 Jan 2007 21:41:29 +0000 (21:41 +0000)]
Fixes to make ./configure prompt for libs if all else fails (discussed earlier with w00t).
The values prompted for are cached, so if you specify them then ./configure -update wont prompt again for them

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

17 years agoFixing
brain [Sat, 20 Jan 2007 21:12:47 +0000 (21:12 +0000)]
Fixing

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

17 years agoApply fixes for buffering of headers, and a test module both by psychon
brain [Sat, 20 Jan 2007 20:56:59 +0000 (20:56 +0000)]
Apply fixes for buffering of headers, and a test module both by psychon

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

17 years ago1.1.0+SVN!
brain [Sat, 20 Jan 2007 17:12:38 +0000 (17:12 +0000)]
1.1.0+SVN!

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

17 years agoBeta9+Finale!
brain [Sat, 20 Jan 2007 16:31:27 +0000 (16:31 +0000)]
Beta9+Finale!

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

17 years agoMøøses > Yøuses
om [Sat, 20 Jan 2007 16:13:07 +0000 (16:13 +0000)]
Møøses > Yøuses

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

17 years agoBetter way even than suggested.
brain [Sat, 20 Jan 2007 16:07:02 +0000 (16:07 +0000)]
Better way even than suggested.
We need one counter, nonlistmodes_found, and start with it at 0. In the while loop, if we find any modes that arent of list mode type we inc the counter,
and if the counter is zero after the end of the loop, we can just return (we processed everything already and nothing is left)

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

17 years agoNow wont even try to read an empty file
brain [Sat, 20 Jan 2007 15:57:11 +0000 (15:57 +0000)]
Now wont even try to read an empty file

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

17 years agoFix for NthDegree, thanks for the info :)
brain [Fri, 19 Jan 2007 23:34:14 +0000 (23:34 +0000)]
Fix for NthDegree, thanks for the info :)

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

17 years agoFix dependencies
brain [Fri, 19 Jan 2007 18:03:10 +0000 (18:03 +0000)]
Fix dependencies

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

17 years agoAs suggested (and coded) by w00t, show * as the nick when we havent set one yet
brain [Fri, 19 Jan 2007 17:58:10 +0000 (17:58 +0000)]
As suggested (and coded) by w00t, show * as the nick when we havent set one yet

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

17 years agoSplit out rconnect command into its own file (this ones already a command handler)
brain [Fri, 19 Jan 2007 17:54:36 +0000 (17:54 +0000)]
Split out rconnect command into its own file (this ones already a command handler)

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

17 years agoSplit this up even more, much smaller files that are easier for gcc to digest
brain [Fri, 19 Jan 2007 17:43:50 +0000 (17:43 +0000)]
Split this up even more, much smaller files that are easier for gcc to digest

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

17 years agofix for installing modules twice.
peavey [Fri, 19 Jan 2007 01:02:06 +0000 (01:02 +0000)]
fix for installing modules twice.

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

17 years agoAdd support for: "make modinstall"
brain [Thu, 18 Jan 2007 22:06:42 +0000 (22:06 +0000)]
Add support for: "make modinstall"
"make module name=m_modulename.so"

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

17 years agoA readme file, mainly for devs.
brain [Thu, 18 Jan 2007 21:29:50 +0000 (21:29 +0000)]
A readme file, mainly for devs.

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

17 years agoCommit #999999, Brain learns to spell.
brain [Thu, 18 Jan 2007 21:23:08 +0000 (21:23 +0000)]
Commit #999999, Brain learns to spell.

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

17 years ago$(FLAGS) was omitted from build line of a directory based module
brain [Thu, 18 Jan 2007 21:22:32 +0000 (21:22 +0000)]
$(FLAGS) was omitted from build line of a directory based module

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

17 years agoFix the dependency checking to not rebuild an entire module dir when one file is...
brain [Thu, 18 Jan 2007 21:14:22 +0000 (21:14 +0000)]
Fix the dependency checking to not rebuild an entire module dir when one file is changed

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

17 years agoMore complex module directories complicate make clean
brain [Thu, 18 Jan 2007 21:06:59 +0000 (21:06 +0000)]
More complex module directories complicate make clean

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

17 years agoMove this over to left margin now, is no longer part of a huge inlined class
brain [Thu, 18 Jan 2007 21:04:18 +0000 (21:04 +0000)]
Move this over to left margin now, is no longer part of a huge inlined class

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

17 years agoRemove space indents
brain [Thu, 18 Jan 2007 21:02:10 +0000 (21:02 +0000)]
Remove space indents

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

17 years agoAdd all this crapola
brain [Thu, 18 Jan 2007 20:56:11 +0000 (20:56 +0000)]
Add all this crapola

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

17 years agoMuch more tidyup, and yes, tons more to go
brain [Thu, 18 Jan 2007 20:36:45 +0000 (20:36 +0000)]
Much more tidyup, and yes, tons more to go

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

17 years agoStart of splitting up. WARNING: This is far from tidy or finished in terms of code...
brain [Thu, 18 Jan 2007 19:21:05 +0000 (19:21 +0000)]
Start of splitting up. WARNING: This is far from tidy or finished in terms of code uglyness. A lot of it is copy/pasted in nano and therefore space indented (will be fixed before b9) and theres much
more to be done yet.

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

17 years agoWhoops, and commit this :p
brain [Thu, 18 Jan 2007 19:06:42 +0000 (19:06 +0000)]
Whoops, and commit this :p

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

17 years agoMove some stuff into utils.h
brain [Thu, 18 Jan 2007 19:06:30 +0000 (19:06 +0000)]
Move some stuff into utils.h

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

17 years agoChange stuff around
brain [Thu, 18 Jan 2007 18:56:47 +0000 (18:56 +0000)]
Change stuff around

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

17 years agoYAY I FIXED IT!
brain [Thu, 18 Jan 2007 18:37:25 +0000 (18:37 +0000)]
YAY I FIXED IT!

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

17 years agoReverting this back to normality
brain [Thu, 18 Jan 2007 18:33:44 +0000 (18:33 +0000)]
Reverting this back to normality

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

17 years agoRevert this back to sanity, still doesnt work tho
brain [Thu, 18 Jan 2007 18:31:00 +0000 (18:31 +0000)]
Revert this back to sanity, still doesnt work tho

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

17 years agowhy wont this fucking thing find the includes?!
brain [Thu, 18 Jan 2007 18:20:12 +0000 (18:20 +0000)]
why wont this fucking thing find the includes?!

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

17 years agoWhoops, wrong include dir
brain [Thu, 18 Jan 2007 18:10:26 +0000 (18:10 +0000)]
Whoops, wrong include dir

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

17 years agoFolder -> Directory
brain [Thu, 18 Jan 2007 18:07:32 +0000 (18:07 +0000)]
Folder -> Directory

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

17 years agoAdd output to ./configure -update to show when it finds a directory in the modules...
brain [Thu, 18 Jan 2007 18:07:17 +0000 (18:07 +0000)]
Add output to ./configure -update to show when it finds a directory in the modules/ dir

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

17 years agoStart of moving m_spanningtree into a dir so we can split it, cutting down ram use...
brain [Thu, 18 Jan 2007 18:04:21 +0000 (18:04 +0000)]
Start of moving m_spanningtree into a dir so we can split it, cutting down ram use during compile, and compile time

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

17 years agoModule splitting now works!
brain [Thu, 18 Jan 2007 17:53:53 +0000 (17:53 +0000)]
Module splitting now works!
Heres how it works (and m_spanningtree will make use of it):
Create a directory in src/modules whos name starts m_, e.g. src/modules/m_spanningtree/
Inside it place .cpp files and headers.
When configure runs, it scans for dirs matching the pattern, goes into them (note: it does not recurse, it only reads that dir) and compiles a list of .cpp files within. (all other file types are
ignored).
It then queries each .cpp file for its 'configure macros' as found in other modules, on a file by file basis. The makefile will then build a set of rules that will
compile the whole lot together on a module by module basis, and "ar" the lot up then link the .a file (as in modes/)

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

17 years agoFixes
brain [Thu, 18 Jan 2007 17:46:32 +0000 (17:46 +0000)]
Fixes

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

17 years agoStuff to detect split modules in dirs - not tested yet
brain [Thu, 18 Jan 2007 17:39:13 +0000 (17:39 +0000)]
Stuff to detect split modules in dirs - not tested yet

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

17 years agoMove QueryQueue class into m_sqlv2 to prevent flat-out duplication of identical code...
brain [Wed, 17 Jan 2007 21:20:32 +0000 (21:20 +0000)]
Move QueryQueue class into m_sqlv2 to prevent flat-out duplication of identical code in pgsql and mysql modules

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

17 years agoMass comment removal.
brain [Wed, 17 Jan 2007 21:14:26 +0000 (21:14 +0000)]
Mass comment removal.

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

17 years agoRemove/fix unused variable warning
brain [Wed, 17 Jan 2007 19:06:16 +0000 (19:06 +0000)]
Remove/fix unused variable warning

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

17 years agoIt says something about how excessive our debug output is when the ssl modules have...
brain [Wed, 17 Jan 2007 18:13:05 +0000 (18:13 +0000)]
It says something about how excessive our debug output is when the ssl modules have 'cascades' of 'if-then-else' whos job is ONLY to output debug!

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

17 years agoRemove some debug here, cuts down boot output
brain [Wed, 17 Jan 2007 17:58:24 +0000 (17:58 +0000)]
Remove some debug here, cuts down boot output

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

17 years agoDebug the spoutmouth output
brain [Wed, 17 Jan 2007 17:55:41 +0000 (17:55 +0000)]
Debug the spoutmouth output

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

17 years agoMake this more sensible
brain [Wed, 17 Jan 2007 17:47:43 +0000 (17:47 +0000)]
Make this more sensible

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

17 years agoLog client output, so we can actually see what we're sending out, and make more sense...
brain [Wed, 17 Jan 2007 17:47:05 +0000 (17:47 +0000)]
Log client output, so we can actually see what we're sending out, and make more sense of stuff

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

17 years agoRemove a ton of inspsocket debug
brain [Wed, 17 Jan 2007 17:41:40 +0000 (17:41 +0000)]
Remove a ton of inspsocket debug

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

17 years agoRemove tons of debug output from spanningtree as the first step in optimizing it...
brain [Wed, 17 Jan 2007 17:30:28 +0000 (17:30 +0000)]
Remove tons of debug output from spanningtree as the first step in optimizing it for release

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

17 years agoAdd O_NOFOLLOW to file write call, which prevents following of symlinks making our...
brain [Tue, 16 Jan 2007 21:40:14 +0000 (21:40 +0000)]
Add O_NOFOLLOW to file write call, which prevents following of symlinks making our temp file writing completely secure

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

17 years agoRemoving from here too.
brain [Mon, 15 Jan 2007 23:53:06 +0000 (23:53 +0000)]
Removing from here too.
The goal is to have basically only stuff of use left, e.g.:
BUG: xxx doodad shouldnt be NULL but it is
or raw socket i/o

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

17 years agoCrusade to remove debug from stable and tested parts of the core and base modules.
brain [Mon, 15 Jan 2007 23:49:24 +0000 (23:49 +0000)]
Crusade to remove debug from stable and tested parts of the core and base modules.
Most of the code here being de-noised hasnt had a crash or bug in it for many months, if not a year so the debug output is useless noise in the logfile when trying to trace a bug in a REAL problem
area.

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

17 years agoRemove some debug (im on a crusade to make debug mode useful, but at the same time...
brain [Mon, 15 Jan 2007 23:09:24 +0000 (23:09 +0000)]
Remove some debug (im on a crusade to make debug mode useful, but at the same time tolerable for longer term usage on larger nets)

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

17 years agoChange the format of some debug
brain [Mon, 15 Jan 2007 23:04:50 +0000 (23:04 +0000)]
Change the format of some debug

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

17 years agoRemove some debug
brain [Mon, 15 Jan 2007 23:02:56 +0000 (23:02 +0000)]
Remove some debug

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

17 years agodelete -> DELETE()
om [Mon, 15 Jan 2007 21:46:26 +0000 (21:46 +0000)]
delete -> DELETE()

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

17 years agoActivate final stage of world-domination plan...d...o...n...
om [Mon, 15 Jan 2007 21:40:11 +0000 (21:40 +0000)]
Activate final stage of world-domination plan...d...o...n...

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

17 years agoFix some differences between how this expands partial banmasks with how the core...
om [Mon, 15 Jan 2007 21:27:30 +0000 (21:27 +0000)]
Fix some differences between how this expands partial banmasks with how the core does it. (Obviously my way was right and the core was silly ;[)

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

17 years agoMake this use true and false, not MODEACTION_DENY
brain [Mon, 15 Jan 2007 21:19:18 +0000 (21:19 +0000)]
Make this use true and false, not MODEACTION_DENY

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

17 years agoConvert all redirecting bans to non-redirecting ones when the module unloads.
om [Mon, 15 Jan 2007 21:09:42 +0000 (21:09 +0000)]
Convert all redirecting bans to non-redirecting ones when the module unloads.
Stop the module allowing bans which will immediately be blocked by the core for exceeding the ban limit.
Fix something else, I think, I forget what it was...

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

17 years agoFix possible segfault if sql query failed. Using a free'd char is probably not a...
peavey [Mon, 15 Jan 2007 20:17:06 +0000 (20:17 +0000)]
Fix possible segfault if sql query failed. Using a free'd char is probably not a good thing.

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

17 years agoPrepend nick to user->MakeHostIP().
om [Mon, 15 Jan 2007 08:11:34 +0000 (08:11 +0000)]
Prepend nick to user->MakeHostIP().
Maybe we should have a GetFullIPHost() or something to match GetFullHost() and GetFullRealHost?

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

17 years agoRename all these so that the names reflect the database server theyre used with more...
brain [Mon, 15 Jan 2007 00:45:23 +0000 (00:45 +0000)]
Rename all these so that the names reflect the database server theyre used with more accurately -- for example, the old mysql ones were just .schema.sql, and
the postgres ones were .pgschema.sql.
Theyre now .mysql.sql, .postgresql.sql and .sqlite3.sql

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

17 years agoHook qlite3_update_hook to queries to also catch affected rows on UPDATE/INSERT/DELETE.
peavey [Sun, 14 Jan 2007 23:14:23 +0000 (23:14 +0000)]
Hook qlite3_update_hook to queries to also catch affected rows on UPDATE/INSERT/DELETE.

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

17 years agoSQLite3 schema for sql logging module.
peavey [Sun, 14 Jan 2007 23:12:17 +0000 (23:12 +0000)]
SQLite3 schema for sql logging module.

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

17 years agoWhy are we doing append() craq here, when theres a nice cached userrec::GetHostIP...
brain [Sun, 14 Jan 2007 22:53:03 +0000 (22:53 +0000)]
Why are we doing append() craq here, when theres a nice cached userrec::GetHostIP() to use?

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

17 years agoIf you have a broken config, rerun full configure to fix
brain [Sun, 14 Jan 2007 22:17:00 +0000 (22:17 +0000)]
If you have a broken config, rerun full configure to fix

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

17 years agoInitial commit of the ban redirection module. Docs, additional testing and probably...
om [Sun, 14 Jan 2007 22:01:02 +0000 (22:01 +0000)]
Initial commit of the ban redirection module. Docs, additional testing and probably a few tweaks to follow

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

17 years agoSQLite3 schema for sqloper.
peavey [Sun, 14 Jan 2007 21:39:09 +0000 (21:39 +0000)]
SQLite3 schema for sqloper.

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

17 years agoAdd SQLite3 module to example config.
peavey [Sun, 14 Jan 2007 21:28:58 +0000 (21:28 +0000)]
Add SQLite3 module to example config.

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

17 years agoI forgot to exec("gnutls-config --libs") in the configure macros
brain [Sun, 14 Jan 2007 21:02:25 +0000 (21:02 +0000)]
I forgot to exec("gnutls-config --libs") in the configure macros

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

17 years agoRemove some old destroy code not needed with InpSocket.
peavey [Sun, 14 Jan 2007 20:40:22 +0000 (20:40 +0000)]
Remove some old destroy code not needed with InpSocket.

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

17 years agoMake REHASH work.
peavey [Sun, 14 Jan 2007 20:35:32 +0000 (20:35 +0000)]
Make REHASH work.

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

17 years agoDont need to send anything on the notifier socket.
peavey [Sun, 14 Jan 2007 20:19:56 +0000 (20:19 +0000)]
Dont need to send anything on the notifier socket.

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

17 years agoRemove DOS newlines.
peavey [Sun, 14 Jan 2007 20:16:10 +0000 (20:16 +0000)]
Remove DOS newlines.

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

17 years agoNow with SQLite3 support. Fully functional and (hopefully) working.
peavey [Sun, 14 Jan 2007 20:14:55 +0000 (20:14 +0000)]
Now with SQLite3 support. Fully functional and (hopefully) working.

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

17 years agoFix the code that nobody tested :p
brain [Sun, 14 Jan 2007 19:08:54 +0000 (19:08 +0000)]
Fix the code that nobody tested :p

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

17 years agoAnd take the return out again to stop w00t throwing a tantrum
om [Sun, 14 Jan 2007 19:05:32 +0000 (19:05 +0000)]
And take the return out again to stop w00t throwing a tantrum

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

17 years agoAdd return statement at the end of the special-case block for listing listmodes.
om [Sun, 14 Jan 2007 19:02:28 +0000 (19:02 +0000)]
Add return statement at the end of the special-case block for listing listmodes.
Make ModeWatchers get called (with an empty parameter and adding = true) if their mode is a listmode and it gets listed

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

17 years agoSomeone left the colon off the 'end of list' numeric in u_listmode.h. I dont know...
brain [Sun, 14 Jan 2007 18:46:16 +0000 (18:46 +0000)]
Someone left the colon off the 'end of list' numeric in u_listmode.h. I dont know what clients this might break

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

17 years agoFix this so that if the beforemode clears the parameter, and it was supposed to have...
brain [Sun, 14 Jan 2007 18:33:02 +0000 (18:33 +0000)]
Fix this so that if the beforemode clears the parameter, and it was supposed to have one, we abort

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

17 years agoFix BeforeMode to have the parameter available, if there are enough parameters for...
brain [Sun, 14 Jan 2007 18:30:44 +0000 (18:30 +0000)]
Fix BeforeMode to have the parameter available, if there are enough parameters for the mode and the mode parameter is valid

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

17 years agoAdded interface 'ChannelBanList' that these two modules implement. Send a request...
brain [Sun, 14 Jan 2007 18:25:56 +0000 (18:25 +0000)]
Added interface 'ChannelBanList' that these two modules implement. Send a request class ListModeRequest to the module to check if a user is matched on a channel:

const char* ismatched = ListModeRequest(this, targetmodule, someuser, somechan).Send();

ismatched will be NULL if theyre not matched by the modules list, or will contain the mask if they are matched.

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