]> jfr.im git - irc/evilnet/mod.chanfix.git/log
irc/evilnet/mod.chanfix.git
15 years agoFixed missing include, corebug fix was already applied here. master origin/HEAD origin/master
denspike [Thu, 15 Jan 2009 11:03:40 +0000 (11:03 +0000)] 
Fixed missing include, corebug fix was already applied here.
(Note to self: Compare repositories before wasting time debugging)

--Spike.

16 years agomake sure extra debugging bits are off by default. Also some extra debugging to ignor...
sirvulcan [Thu, 17 Jan 2008 00:14:43 +0000 (00:14 +0000)] 
make sure extra debugging bits are off by default. Also some extra debugging to ignore services

16 years agosegfault fix
sirvulcan [Wed, 16 Jan 2008 23:19:36 +0000 (23:19 +0000)] 
segfault fix

16 years agomerge with gnuworld cvs openchanfix
sirvulcan [Wed, 16 Jan 2008 04:12:50 +0000 (04:12 +0000)] 
merge with gnuworld cvs openchanfix

16 years agoSome tweaks so ocf works with nefarious extended accounts as well as a debugging...
sirvulcan [Tue, 11 Sep 2007 02:26:37 +0000 (02:26 +0000)] 
Some tweaks so ocf works with nefarious extended accounts as well as a debugging option so ocf will work on channels even if they have services.

17 years agoTest commit, removed channel has been fixed notices since they are repeating througho...
buzlip01 [Sun, 11 Mar 2007 14:48:31 +0000 (14:48 +0000)] 
Test commit, removed channel has been fixed notices since they are repeating throughout each loop for now

17 years agoTest commit for ranking display features
buzlip01 [Thu, 1 Feb 2007 14:08:31 +0000 (14:08 +0000)] 
Test commit for ranking display features

17 years agoSeveral major changes, reverted snapshots back from pointers
buzlip01 [Sun, 31 Dec 2006 17:27:08 +0000 (17:27 +0000)] 
Several major changes, reverted snapshots back from pointers

17 years agoUpdated makefiles to reflect removed commands
buzlip01 [Tue, 26 Dec 2006 14:27:36 +0000 (14:27 +0000)] 
Updated makefiles to reflect removed commands

17 years agoSync with GNUWorld CVS, minor changes and autodetects, thanks kewlio
buzlip01 [Sun, 24 Dec 2006 04:17:54 +0000 (04:17 +0000)] 
Sync with GNUWorld CVS, minor changes and autodetects, thanks kewlio

17 years agoUpdated translations
buzlip01 [Fri, 22 Dec 2006 16:16:48 +0000 (16:16 +0000)] 
Updated translations

17 years agoRemoved tempblock commands as they are only to be used by euworld. OVERRIDE flags...
buzlip01 [Fri, 22 Dec 2006 13:46:54 +0000 (13:46 +0000)] 
Removed tempblock commands as they are only to be used by euworld. OVERRIDE flags now bypass tempblocks made by euworld.

17 years agoFixed an ugly sign comparison warning
buzlip01 [Fri, 22 Dec 2006 04:15:10 +0000 (04:15 +0000)] 
Fixed an ugly sign comparison warning

17 years agoAdded WHOFLAG command
buzlip01 [Fri, 22 Dec 2006 03:10:50 +0000 (03:10 +0000)] 
Added WHOFLAG command

17 years agoTest version, solved several memory leaks, changed snapshots to pointers in effort...
buzlip01 [Fri, 22 Dec 2006 02:38:06 +0000 (02:38 +0000)] 
Test version, solved several memory leaks, changed snapshots to pointers in effort to reduce memory footprint

17 years agoRemoving custom data upon user kills/quits would be nice to prevent memleaks
buzlip01 [Mon, 18 Dec 2006 01:56:11 +0000 (01:56 +0000)] 
Removing custom data upon user kills/quits would be nice to prevent memleaks

17 years agoCheck integrity of channel objects before using them, also join() threads to help...
buzlip01 [Fri, 15 Dec 2006 19:46:28 +0000 (19:46 +0000)] 
Check integrity of channel objects before using them, also join() threads to help with cleanup

17 years agoVarious assertion error outputs for testing
buzlip01 [Tue, 12 Dec 2006 15:43:36 +0000 (15:43 +0000)] 
Various assertion error outputs for testing

17 years agoChanges for debugging, disregard.
buzlip01 [Mon, 11 Dec 2006 02:47:22 +0000 (02:47 +0000)] 
Changes for debugging, disregard.

17 years agoTest commit for assertions
buzlip01 [Sun, 10 Dec 2006 19:38:47 +0000 (19:38 +0000)] 
Test commit for assertions

17 years agoFixed bug #1610516 in HISTORY
buzlip01 [Thu, 7 Dec 2006 04:10:44 +0000 (04:10 +0000)] 
Fixed bug #1610516 in HISTORY

17 years agoMinor change to prevent messaging a channel every time someone gets opped
buzlip01 [Wed, 25 Oct 2006 15:35:07 +0000 (15:35 +0000)] 
Minor change to prevent messaging a channel every time someone gets opped

17 years agoi know you dont like this name, committing these files so compy can compile atleast...
sirvulcan [Tue, 17 Oct 2006 01:06:51 +0000 (01:06 +0000)] 
i know you dont like this name, committing these files so compy can compile atleast lol (forgot to add/remove)

17 years agobug fix for 1453584. Renamed sqlUser to sqlcfUser to avoid possible conflicts
sirvulcan [Thu, 5 Oct 2006 01:45:50 +0000 (01:45 +0000)] 
bug fix for 1453584. Renamed sqlUser to sqlcfUser to avoid possible conflicts

17 years agolimit the lifespan of a simulation to 1 day. I doubt a fix will last a day anyway
sirvulcan [Sun, 1 Oct 2006 15:55:02 +0000 (15:55 +0000)] 
limit the lifespan of a simulation to 1 day. I doubt a fix will last a day anyway

17 years agoSIMULATE command for doing simulated auto or manual fixes upon a channel. The only...
sirvulcan [Sun, 1 Oct 2006 14:59:45 +0000 (14:59 +0000)] 
SIMULATE command for doing simulated auto or manual fixes upon a channel. The only part of this code i dont like that much is the insertop/findop etc code.. I needed a way of tracking whos opped in a channel without actually opping. If theres a better/easier/whatever way of doing this (than the current insertop etc code) then let me know

17 years agoThis function could be used for simulation.. run a loop the increments the time....
sirvulcan [Thu, 28 Sep 2006 01:52:57 +0000 (01:52 +0000)] 
This function could be used for simulation.. run a loop the increments the time.. pass it on to this loop as the current time.. some temp sqlchan vars will need to be set (refer to fixchan). Anyway this function will determine if C should join or notice if enabled

17 years agorenamed the diff file and only add servers to the temp ignore list if they are servic...
sirvulcan [Wed, 27 Sep 2006 04:02:21 +0000 (04:02 +0000)] 
renamed the diff file and only add servers to the temp ignore list if they are services n send clearmodes or modes (from the server not clients)

17 years agoupdated gnuworld patch with servermode events plus basic handling of the new event...
sirvulcan [Wed, 27 Sep 2006 03:01:10 +0000 (03:01 +0000)] 
updated gnuworld patch with servermode events plus basic handling of the new event in chanfix. Any channels that are clearmode'ed or had a mode change by a server will be inserted into the temp block list. Next i need to extend it a bit so that it only inserts when it gets a clearmode with an o or a mode change of ops in the channel

17 years agotemporary channel blocking commands, works in with the automated temp block system...
sirvulcan [Tue, 26 Sep 2006 06:14:42 +0000 (06:14 +0000)] 
temporary channel blocking commands, works in with the automated temp block system (when uworld messes with a channels modes))

17 years agoyeah yeah reed :P i forgot about bools
sirvulcan [Tue, 19 Sep 2006 04:17:24 +0000 (04:17 +0000)] 
yeah yeah reed :P i forgot about bools

17 years agoAdded a patches dir with the server flag patch
sirvulcan [Tue, 19 Sep 2006 04:09:48 +0000 (04:09 +0000)] 
Added a patches dir with the server flag patch

17 years agotweak the messages and make them both optional. Also uncommented the isservice code...
sirvulcan [Tue, 19 Sep 2006 04:05:08 +0000 (04:05 +0000)] 
tweak the messages and make them both optional. Also uncommented the isservice code in chanfix.cc. gnuworld cvs has a stable copy of this so we can leave it uncommented for testing. I have the isservice / server flag patch here by reed if anyone needs it

17 years agoRFE #1461370. When enabled, chanfix will join the channel when its being fixed (both...
sirvulcan [Mon, 18 Sep 2006 14:52:21 +0000 (14:52 +0000)] 
RFE #1461370. When enabled, chanfix will join the channel when its being fixed (both auto and manual). Ive also added in a "This channel is being fixed" notice for auto fixes for opless channels when joining is enabled. Chanfix will part after the fix saying the channel is fixed, users will now know when the channel is all fixed

17 years agoIncreased speed of reops, no longer use min_score if the channels max score is below...
buzlip01 [Wed, 6 Sep 2006 13:35:54 +0000 (13:35 +0000)] 
Increased speed of reops, no longer use min_score if the channels max score is below it. Also added resource stats

17 years agoBroken say command too, fixed to ASSEMBLE args
buzlip01 [Thu, 17 Aug 2006 12:48:28 +0000 (12:48 +0000)] 
Broken say command too, fixed to ASSEMBLE args

17 years agoFixes to sqlUser and delnote so users will be deleted and checked PROPERLY (case...
buzlip01 [Thu, 17 Aug 2006 12:41:32 +0000 (12:41 +0000)] 
Fixes to sqlUser and delnote so users will be deleted and checked PROPERLY (case issue)

17 years agoMakefile changes to include new commands
buzlip01 [Thu, 17 Aug 2006 00:05:10 +0000 (00:05 +0000)] 
Makefile changes to include new commands

17 years agoAdded the SAY command and tweaked a few things
buzlip01 [Wed, 16 Aug 2006 13:38:25 +0000 (13:38 +0000)] 
Added the SAY command and tweaked a few things

17 years agoSimple feature request to show note count/blocks/alerts for chans on OPLIST and SCORE
buzlip01 [Mon, 26 Jun 2006 21:27:09 +0000 (21:27 +0000)] 
Simple feature request to show note count/blocks/alerts for chans on OPLIST and SCORE

17 years agoChanged a silly little bug with the new notes schema and INFO
buzlip01 [Mon, 26 Jun 2006 01:13:37 +0000 (01:13 +0000)] 
Changed a silly little bug with the new notes schema and INFO

18 years agoallow opers to view the CANFIX list for a channel. Also added a update script for...
sirvulcan [Sun, 30 Apr 2006 06:57:19 +0000 (06:57 +0000)] 
allow opers to view the CANFIX list for a channel. Also added a update script for revisions pre 1552. This will update the notes table to the new schema, either run it via web browser or via command line php. Wasnt sure how else to do this other than in PHP, sorry. No tables are dropped so if anything goes wrong the old table is still there

18 years agoHere we are, the way I should of done this first time
sirvulcan [Tue, 18 Apr 2006 04:03:59 +0000 (04:03 +0000)] 
Here we are, the way I should of done this first time

18 years agoHeres an initial version of LASTCOM. At the moment it records via onprivatemessage...
sirvulcan [Tue, 18 Apr 2006 03:28:18 +0000 (03:28 +0000)] 
Heres an initial version of LASTCOM. At the moment it records via onprivatemessage in chanfix.cc. However if you send invalid args to the target function they get recorded too, so next im going to split it off to a seperate function and call it at the end of each command function.

18 years agowoops, forgot this
sirvulcan [Mon, 17 Apr 2006 11:38:55 +0000 (11:38 +0000)] 
woops, forgot this

18 years agoDone RFE #1469566. Adjusted a few things in responses.h, was causing the python scrip...
sirvulcan [Mon, 17 Apr 2006 11:32:23 +0000 (11:32 +0000)] 
Done RFE #1469566. Adjusted a few things in responses.h, was causing the python scripts to fail.. wierd stuff. Also renamed ALERT (messaging top ops on fixes) to CONTACT to avoid confusion with the ALERT command. I was pondering renaming it to NOTICE but people may get confused again as NOTICE is used for message types. If you think of a better word/trigger for this function then let me know

18 years agoNew features :) REQUESTOP allows the top ops within X percent of the top score in...
sirvulcan [Tue, 11 Apr 2006 03:28:47 +0000 (03:28 +0000)] 
New features :) REQUESTOP allows the top ops within X percent of the top score in a channel and above a certain score to fix a channel. CANFIX lists who can fix the channel. Users must have X amount of score for a channel to get a list for the channel. Alert added, this allows the messaging of the top 10 ops to alert them that the channel is being fixed (ops who are not in channel), alert is appended to CHANFIX for it to work. If enabled then the same function can be used with REQUESTOP. The final percentages/scores in chanfix.example.conf.in need to be finalized upon still.

18 years agoCorrect response reply. Add stopFixingChan() function to deal with removing a channel...
r33d [Mon, 3 Apr 2006 01:29:53 +0000 (01:29 +0000)] 
Correct response reply. Add stopFixingChan() function to deal with removing a channel completely from the fixing queue. Replace OPLIST's dots/dotscolors with new days option that is based on percentages (as requested by coekie). Optimize and clean-up some code.

18 years agocoekie's OPLIST dots RFC complete, with added colour. By default a normal oplist...
sirvulcan [Sun, 2 Apr 2006 12:58:16 +0000 (12:58 +0000)] 
coekie's OPLIST dots RFC complete, with added colour. By default a normal oplist is showen, -dots is required for a normal dots bar and -dotscolor is required for the coloured bar. The coloured bar is for displaying how much points a person got on each day. Its split up into 40 point parts. Each 40 points has its own colour. See the OPLIST code below for the colour list. Also fixed a translation, added USERSCORES and updated OPLIST to reflect my changes

18 years agoClean-up the previous commit. Rename stopManualFixOnOp to stopChanFixOnOp to match...
r33d [Sat, 1 Apr 2006 23:02:46 +0000 (23:02 +0000)] 
Clean-up the previous commit. Rename stopManualFixOnOp to stopChanFixOnOp to match other config options. Optimize checking code in chanfix.cc for these new options.

18 years agomade my earlier commit configurable
sirvulcan [Sat, 1 Apr 2006 22:53:54 +0000 (22:53 +0000)] 
made my earlier commit configurable

18 years agoUse the correct query for LISTBLOCKED (my last commit broke it). Bump version to...
r33d [Sat, 1 Apr 2006 22:44:27 +0000 (22:44 +0000)] 
Use the correct query for LISTBLOCKED (my last commit broke it). Bump version to v1.0.2. Remove unneeded lines. Remove unused config option. Modify some comments. Make sure that fixes are only ended if a real user is doing the op and not a server. Optimize some USERSCORES code.

18 years agoIf a channel is being fixed then stop it if a person who has been opped ops other...
sirvulcan [Sat, 1 Apr 2006 22:08:19 +0000 (22:08 +0000)] 
If a channel is being fixed then stop it if a person who has been opped ops other people

18 years agoAdded USERSCORES command, preparing to synch to CVS
buzlip01 [Sat, 1 Apr 2006 12:22:24 +0000 (12:22 +0000)] 
Added USERSCORES command, preparing to synch to CVS

18 years agoFix lots of warnings. Correct problems with keyword replacements. Use bitwise queryin...
r33d [Sat, 1 Apr 2006 00:19:40 +0000 (00:19 +0000)] 
Fix lots of warnings. Correct problems with keyword replacements. Use bitwise querying in SHOWBLOCKED. Use the correct form of whitespacing. Rename function for case-related purposes. Remove unneeded lines. Use better optimization in INFO. Basically, lots of clean-up to recently committed code.

18 years agoQuick emergency fix, checking for users who are not logged in so we dont try to use...
buzlip01 [Fri, 31 Mar 2006 22:19:24 +0000 (22:19 +0000)] 
Quick emergency fix, checking for users who are not logged in so we dont try to use a NULL user object. If only we'd all listen to reed.. :P

18 years agoAdded new log rotator script to move the admin-log file, SIGHUP gnuworld and mail...
buzlip01 [Fri, 31 Mar 2006 03:31:48 +0000 (03:31 +0000)] 
Added new log rotator script to move the admin-log file, SIGHUP gnuworld and mail off the log to a specified address.

18 years agoString fix for ADDFLAG
buzlip01 [Fri, 31 Mar 2006 01:31:05 +0000 (01:31 +0000)] 
String fix for ADDFLAG

18 years agoTemporarily removed isService checks for sake of production upgrade
buzlip01 [Fri, 31 Mar 2006 01:25:09 +0000 (01:25 +0000)] 
Temporarily removed isService checks for sake of production upgrade

18 years agoFixed SCORE string error, INFO now returns how long the fix has been running on the...
buzlip01 [Fri, 31 Mar 2006 01:14:28 +0000 (01:14 +0000)] 
Fixed SCORE string error, INFO now returns how long the fix has been running on the channel.

18 years agoRemoved unused var from OPLIST, log ALL commands (per request) to chanfix-admin.log
buzlip01 [Thu, 30 Mar 2006 01:13:30 +0000 (01:13 +0000)] 
Removed unused var from OPLIST, log ALL commands (per request) to chanfix-admin.log

18 years agoClose and reopen file handles on SIGHUP so external scripts can handle/mail abuse...
buzlip01 [Wed, 29 Mar 2006 03:31:38 +0000 (03:31 +0000)] 
Close and reopen file handles on SIGHUP so external scripts can handle/mail abuse logs on their own

18 years agoChanged admin logs to a match more of an exact command format (per request)
buzlip01 [Wed, 29 Mar 2006 02:57:26 +0000 (02:57 +0000)] 
Changed admin logs to a match more of an exact command format (per request)

18 years agoFixed code errors in LISTBLOCKED
buzlip01 [Tue, 28 Mar 2006 03:26:03 +0000 (03:26 +0000)] 
Fixed code errors in LISTBLOCKED

18 years agoForgot LISTBLOCKEDCommand.cc
buzlip01 [Mon, 27 Mar 2006 01:55:30 +0000 (01:55 +0000)] 
Forgot LISTBLOCKEDCommand.cc

18 years agoAdd LISTBLOCKED command to list blocked channels. Make OPLIST return @/+nick in the...
buzlip01 [Sun, 26 Mar 2006 15:15:50 +0000 (15:15 +0000)] 
Add LISTBLOCKED command to list blocked channels. Make OPLIST return @/+nick in the output. -- Thanks coekie

18 years agoSplit cf into a separate namespace (thanks Compy for helping and nextie for the advic...
r33d [Thu, 23 Mar 2006 23:33:47 +0000 (23:33 +0000)] 
Split cf into a separate namespace (thanks Compy for helping and nextie for the advice). Add a patch from coekie to correctly cast two integers to floats in the linear interpolation algorithms. Remove an unneeded language reply (language::chan_manual_fix). Remove the unneeded Timer.h (core already has one). Remove unneeded ccontrolServer. NOTE: This will not compile for people without a special core patch. I will try to get it committed into GNUWorld CVS soon. Fix a problem found by coekie that was causing users that due to chanfix being down during a normal rotate time had missed deletion. While this compiles for me, I have not tested it locally yet. Committing so the other testers can try it, too.

18 years agoForgot one! (chanfix_config.h)
buzlip01 [Thu, 23 Mar 2006 02:29:01 +0000 (02:29 +0000)] 
Forgot one! (chanfix_config.h)

18 years agoHave chanfix pause for 1 hour on autofixing a channel if euworld intervenes by issuin...
buzlip01 [Thu, 23 Mar 2006 02:27:30 +0000 (02:27 +0000)] 
Have chanfix pause for 1 hour on autofixing a channel if euworld intervenes by issuing a mode.

18 years agoStomp a warning that only shows if boost-thread is not found.
r33d [Sun, 19 Mar 2006 22:26:07 +0000 (22:26 +0000)] 
Stomp a warning that only shows if boost-thread is not found.

18 years agoAdd '-l' to the front of the correct definition. Run autoconf.
r33d [Sun, 19 Mar 2006 21:23:05 +0000 (21:23 +0000)] 
Add '-l' to the front of the correct definition. Run autoconf.

18 years agoMake Boost::Thread optional for networks that are very small (big networks WILL need...
r33d [Sun, 19 Mar 2006 03:59:58 +0000 (03:59 +0000)] 
Make Boost::Thread optional for networks that are very small (big networks WILL need to use it). Fix problem with RELOAD that was causing it to save the database twice.

18 years agoMake sure we shutdown and update ourselves successfully. Clean up some code. Remove...
r33d [Fri, 17 Mar 2006 05:12:19 +0000 (05:12 +0000)] 
Make sure we shutdown and update ourselves successfully. Clean up some code. Remove duplicate code in OPLIST.

18 years agoUse the proper response for UNSUSPEND (language::cant_unsuspend_an_owner).
r33d [Fri, 17 Mar 2006 02:56:38 +0000 (02:56 +0000)] 
Use the proper response for UNSUSPEND (language::cant_unsuspend_an_owner).

18 years agoOops, copy/paste broke something. :/
r33d [Fri, 17 Mar 2006 01:52:39 +0000 (01:52 +0000)] 
Oops, copy/paste broke something. :/

18 years agoRemove unneeded nonoper/needoper checking. Update default userdescription in config...
r33d [Fri, 17 Mar 2006 01:46:20 +0000 (01:46 +0000)] 
Remove unneeded nonoper/needoper checking. Update default userdescription in config to match Undernet's. Correct several comments. Add more checks for proper access for ADDHOST, DELHOST, SUSPEND, and UNSUSPEND. Use proper whitespacing.

18 years agoRemoved admin logging from OPLIST since its not needed. Made local oper allowance...
buzlip01 [Thu, 16 Mar 2006 04:16:58 +0000 (04:16 +0000)] 
Removed admin logging from OPLIST since its not needed. Made local oper allowance a config option

18 years agoDisplaying ops that are on the chan in bold in OPLIST
buzlip01 [Tue, 14 Mar 2006 00:53:32 +0000 (00:53 +0000)] 
Displaying ops that are on the chan in bold in OPLIST

18 years agoFix bug found by Saralee that was causing opers that were added in the bot but did...
r33d [Fri, 10 Mar 2006 20:44:00 +0000 (20:44 +0000)] 
Fix bug found by Saralee that was causing opers that were added in the bot but did not have a valid host added from being able to use basic oper level commands.

18 years agoSet maxFirstOppedTS to a more reasonable number so we do not leave chanops around...
r33d [Wed, 8 Mar 2006 02:59:56 +0000 (02:59 +0000)] 
Set maxFirstOppedTS to a more reasonable number so we do not leave chanops around for longer than required.

18 years agoDrop CHECK_CHANS_TIME to 60 seconds. Drop PROCESS_QUEUE_TIME to 30 seconds. Change...
r33d [Wed, 8 Mar 2006 02:21:20 +0000 (02:21 +0000)] 
Drop CHECK_CHANS_TIME to 60 seconds. Drop PROCESS_QUEUE_TIME to 30 seconds. Change the spacing in OPLIST. Change [NOT LOGGED-IN] to [NOT-LOGGED-IN] in OPLIST. Fix incorrect safety check in INFO.

18 years agoAdd new logDebugMessage() function that will always relay info to consoleChan no...
r33d [Tue, 7 Mar 2006 00:26:59 +0000 (00:26 +0000)] 
Add new logDebugMessage() function that will always relay info to consoleChan no matter what sendConsoleNotices is set. Add new debugLog and debugLogFile (chanfix-debug.log). Add several patches from coekie including some CSCORE fixes and changes, OPLIST changes to allow display of all ops, and a change to BLOCK to make it abort any current fixes on the channel. Also, OPLIST, OPNICKS, and CHECK have all been moved to oper level. SCORE now takes [account|=nick] as part of its arguments. Optimize some sqlChanOps code in chanfix.cc. Update config.guess and config.sub to latest versions. Bump chanfix version to 1.0.1.

18 years agoFix CTCP SUBVERSION reply to show the correct information.
r33d [Sun, 5 Mar 2006 05:15:58 +0000 (05:15 +0000)] 
Fix CTCP SUBVERSION reply to show the correct information.

18 years agoAdd chanfix_defs.h to svnignore. Add new ax_prefix_config_h.m4 autoconf macro to...
r33d [Sun, 5 Mar 2006 04:48:33 +0000 (04:48 +0000)] 
Add chanfix_defs.h to svnignore. Add new ax_prefix_config_h.m4 autoconf macro to prefix headers. Change PROCESS_QUEUE_TIME to 60 seconds. Move all version information to configure.ac. Disable QUOTE by default (through #undef ENABLE_QUOTE). Add useBurstToFix boolean that if made false can be used to make chanfix just use ClearMode() for manual fixes (default to true). Add new feature to WHOIS to show time that oper last used service. Use std::set instead of std::list for clientOpsType. Allow WHOIS =nick. Correct a few comments. Add a CTCP SUBVERSION reply. Add a CTCP GENDER reply.

18 years agoOops. Should have a used a std::list instead of a std::vector. :/
r33d [Fri, 3 Mar 2006 21:51:37 +0000 (21:51 +0000)] 
Oops. Should have a used a std::list instead of a std::vector. :/

18 years agoFix bug found on Undernet due to use of pointer that had already been destroyed....
r33d [Fri, 3 Mar 2006 00:48:21 +0000 (00:48 +0000)] 
Fix bug found on Undernet due to use of pointer that had already been destroyed. Add joinChan option to config to allow for multiple channels to join. Add sendConsoleNotices boolean that can turn relaying of logging on/off. Add a patch from coekie to allow OPLIST/SCORE for channels that don't exist. Remove (now) unneeded operChan/supportChan stuff. Allow user managers to delete other people's notes. Set the last_seen on any command to chanfix. Add date and time to CTCP VERSION. Correct some error messages. Remove unneeded string_lower() in ADDUSER. Make SETGROUP force groups to lowercase. Allow user managers to change the NEEDOPER setting.

18 years agoAdd sanity check to logAdminMessage() to make sure that adminLog is open before tryin...
r33d [Mon, 30 Jan 2006 22:33:04 +0000 (22:33 +0000)] 
Add sanity check to logAdminMessage() to make sure that adminLog is open before trying to write to it.

18 years agoRemove extra semicolons from sql*.cc files.
r33d [Sun, 22 Jan 2006 00:17:54 +0000 (00:17 +0000)] 
Remove extra semicolons from sql*.cc files.

18 years agobah, forgot one.
r33d [Sun, 22 Jan 2006 00:15:20 +0000 (00:15 +0000)] 
bah, forgot one.

18 years agoFix problem with explicit qualification in order to get chanfix to compile on g+...
r33d [Sun, 22 Jan 2006 00:14:27 +0000 (00:14 +0000)] 
Fix problem with explicit qualification in order to get chanfix to compile on g++ 4.x. Change order of two includes.

18 years agoFix issues with backup table and add some more checks dealing with the backup as...
r33d [Fri, 20 Jan 2006 22:27:37 +0000 (22:27 +0000)] 
Fix issues with backup table and add some more checks dealing with the backup as per nextie.

18 years agoptr usage changes and table backups for chanOps
buzlip01 [Fri, 20 Jan 2006 04:13:32 +0000 (04:13 +0000)] 
ptr usage changes and table backups for chanOps

18 years agoMajor code changes, thread/data sanity fixes, map changes etc
r33d [Fri, 20 Jan 2006 02:28:37 +0000 (02:28 +0000)] 
Major code changes, thread/data sanity fixes, map changes etc

18 years agoSet default intervals to more reasonable times. Remove unused MAX_*FIX defines. Send...
r33d [Wed, 18 Jan 2006 22:29:41 +0000 (22:29 +0000)] 
Set default intervals to more reasonable times. Remove unused MAX_*FIX defines. Send the correct flags with adminLog.open(). Close adminLog on shutdown. Begin work on using the new map to send information.

18 years agoEarly commit of some of Compy's work (with a few changes from me) of the new struct...
r33d [Wed, 18 Jan 2006 04:10:38 +0000 (04:10 +0000)] 
Early commit of some of Compy's work (with a few changes from me) of the new struct code for the updateDB thread.

18 years agoAdd lots of sanity checks, replace ROTATE and UPDATE commands with one DEBUG command...
r33d [Tue, 17 Jan 2006 00:43:25 +0000 (00:43 +0000)] 
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.

18 years agoRename a typedef and clean-up some scoredOps code.
reedloden [Thu, 5 Jan 2006 03:21:23 +0000 (03:21 +0000)] 
Rename a typedef and clean-up some scoredOps code.

18 years agoChanged giveAllOpsPoints() scored op maps to lists to save space used by unused booleans
Compster [Thu, 5 Jan 2006 00:47:28 +0000 (00:47 +0000)] 
Changed giveAllOpsPoints() scored op maps to lists to save space used by unused booleans

18 years agoRaise MAXNOTECOUNT to 50, change a comment in config, update SCORE language replies...
reedloden [Thu, 5 Jan 2006 00:12:53 +0000 (00:12 +0000)] 
Raise MAXNOTECOUNT to 50, change a comment in config, update SCORE language replies to nex's liking, move some definitions around, and remove an unneeded space.

18 years agoMade logAdminMessage() logfile lines containes dates and times, also removed a redund...
Compster [Wed, 4 Jan 2006 05:46:49 +0000 (05:46 +0000)] 
Made logAdminMessage() logfile lines containes dates and times, also removed a redundant declaration