summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-01-17Make this more sensiblebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6362 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-17Log client output, so we can actually see what we're sending out, and make ↵brain
more sense of stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6361 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-17Remove a ton of inspsocket debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6360 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-17Remove tons of debug output from spanningtree as the first step in ↵brain
optimizing it for release git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6359 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-16Add O_NOFOLLOW to file write call, which prevents following of symlinks ↵brain
making our temp file writing completely secure git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6358 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-15Removing from here too.brain
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
2007-01-15Crusade to remove debug from stable and tested parts of the core and base ↵brain
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
2007-01-15Remove some debug (im on a crusade to make debug mode useful, but at the ↵brain
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
2007-01-15Change the format of some debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6354 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-15Remove some debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6353 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-15delete -> DELETE()om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6352 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-15Activate final stage of world-domination plan...d...o...n...om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6351 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-15Fix some differences between how this expands partial banmasks with how the ↵om
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
2007-01-15Make this use true and false, not MODEACTION_DENYbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6349 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-15Convert all redirecting bans to non-redirecting ones when the module unloads.om
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
2007-01-15Fix possible segfault if sql query failed. Using a free'd char is probably ↵peavey
not a good thing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6347 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-15Prepend nick to user->MakeHostIP().om
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
2007-01-15Rename all these so that the names reflect the database server theyre used ↵brain
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
2007-01-14Hook qlite3_update_hook to queries to also catch affected rows on ↵peavey
UPDATE/INSERT/DELETE. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6344 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14SQLite3 schema for sql logging module.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6343 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Why are we doing append() craq here, when theres a nice cached ↵brain
userrec::GetHostIP() to use? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6342 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14If you have a broken config, rerun full configure to fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6341 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Initial commit of the ban redirection module. Docs, additional testing and ↵om
probably a few tweaks to follow git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6340 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14SQLite3 schema for sqloper.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6339 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Add SQLite3 module to example config.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6338 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14I forgot to exec("gnutls-config --libs") in the configure macrosbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6337 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Remove some old destroy code not needed with InpSocket.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6336 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Make REHASH work.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6335 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Dont need to send anything on the notifier socket.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6334 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Remove DOS newlines.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6333 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Now with SQLite3 support. Fully functional and (hopefully) working.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6332 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Fix the code that nobody tested :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6331 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14And take the return out again to stop w00t throwing a tantrumom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6330 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Add return statement at the end of the special-case block for listing listmodes.om
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
2007-01-14Someone left the colon off the 'end of list' numeric in u_listmode.h. I dont ↵brain
know what clients this might break git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6328 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Fix this so that if the beforemode clears the parameter, and it was supposed ↵brain
to have one, we abort git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6327 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Fix BeforeMode to have the parameter available, if there are enough ↵brain
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
2007-01-14Added interface 'ChannelBanList' that these two modules implement. Send a ↵brain
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
2007-01-14g++ is picky about default params with overloadingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6324 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Move showhelp() into make/configure.pmbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6323 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Slightly decraqed configurebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6322 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14OMG SQLITE3 support, almost there now =)peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6321 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Starting tidying up the configure script, and moving a lot of stuff into ↵brain
functions in the make/ dir git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6320 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Add alias:matchcase config setting (per-alias, determines wether to match ↵brain
case on format string) and ability for case sensitive match() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6319 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Make m_sqlv2.h::SQLquery extend 'classbase', for easy passing as deque ↵peavey
parameter. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6318 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Allow aliasing of anything to anything, removing the need for tons of ↵brain
non-programmer tweaks to be modules. Also speed up matching of aliases by storing a map so we dont need to loop if we dont have an alias that looks like the current command (when allowing aliasing of ANYTHING this is required otherwise this module would be major cpu suck) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6317 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Fix broken ./configure macros broken by introduction of an evalbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6316 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Bang! Gone due to new buildsystem.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6315 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Output which module is executing the macrobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6314 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Formatting glitchbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6313 e03df62e-2008-0410-955e-edbf42e46eb7