]> jfr.im git - irc/evilnet/mod.chanfix.git/commit
Add lots of sanity checks, replace ROTATE and UPDATE commands with one DEBUG command...
authorr33d <redacted>
Tue, 17 Jan 2006 00:43:25 +0000 (00:43 +0000)
committerr33d <redacted>
Tue, 17 Jan 2006 00:43:25 +0000 (00:43 +0000)
commitfd2029d8598df196b458e81f22801cec0c410c89
tree1c9cfcc4c37eb96b8d83c9759a6fb3f823e4f7a5
parentbeb52f675443a7fe207fb77d0c3144d8bc10a6be
Add lots of sanity checks, replace ROTATE and UPDATE commands with one DEBUG command (controlled by CHANFIX_DEBUG), add inSQL boolean to sqlChannel so autofix-only channels are not committed to the database, remove all code related to oplevels/MODE_A, remove unused noCaseComparePair, convert sqlChanOps map to a map within a map (channel [account, sqlChanOp]), remove (now unneeded) myOpsCount map, convert countMyOps() to use the new sqlChanOps map, correctly clean-up after ourselves in sqlManager, do not continue processing a channel if it is not in the database, clean-up code, and miscellaneous whitespacing changes.
23 files changed:
ADDNOTECommand.cc
ALERTCommand.cc
BLOCKCommand.cc
CHANFIXCommand.cc
DEBUGCommand.cc [moved from ROTATECommand.cc with 55% similarity]
DELNOTECommand.cc
HISTORYCommand.cc
INFOCommand.cc
Makefile.am
Makefile.in
SCORECommand.cc
UNALERTCommand.cc
UNBLOCKCommand.cc
UPDATECommand.cc [deleted file]
chanfix.cc
chanfix.h
chanfixCommands.h
responses.h
sqlChannel.cc
sqlChannel.h
sqlManager.cc
sqlManager.h
sqlUser.cc