]> git.donarmstrong.com Git - infobot.git/log
infobot.git
22 years ago- irctextcounters: add percentage to top3
dms [Sun, 10 Jun 2001 13:09:44 +0000 (13:09 +0000)]
- irctextcounters: add percentage to top3
- use &dbQuote() for all unprotected dbGet calls.
- added rehashConfVars() - the beginning.
- now keep stats of all commands - saved on exit.
- forget: check if backup exists - don't overwrite if it does.
- typo in nslookup/dns var.
- added dbGetColNiceHash - not used.
- dbSetRow: values now parsed by reference; $delay now works
- removed getKeys()
- factArgs: sort list from longest to shortest
- factArgs: go through all CMDs and check for possible dupes
- factArgs: when SARing, doing /g - found by greycat.
- schedule ircCheck more often
- chanlimitcheck: removed next statement, should work now
- renamed "factstats broken" to vandalism.
- fm: disabled table locking; enabled DELAYED INSERTs
- news: show time when next item should expire

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@508 c11ca15a-4712-0410-83d8-924469b57eb5

22 years ago- irctextcounter: ORDER by counter, not nick!
dms [Fri, 1 Jun 2001 15:28:58 +0000 (15:28 +0000)]
- irctextcounter: ORDER by counter, not nick!
- merged patch from asuffield wrt db_mysql.pl
- attempt to load rootWarn on startup
- added &getPerlFiles() for module loading
- reloadAllModules: take into account bot_src_dir
- on_quit: moved removal of cache _after_ netsplit code.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@507 c11ca15a-4712-0410-83d8-924469b57eb5

22 years ago- merged/modified patch from asuffield.
dms [Fri, 1 Jun 2001 15:28:48 +0000 (15:28 +0000)]
- merged/modified patch from asuffield.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@506 c11ca15a-4712-0410-83d8-924469b57eb5

22 years ago- show how many calls we do to DEBUG,WARN,FIXME,status and WARN
dms [Wed, 30 May 2001 15:19:31 +0000 (15:19 +0000)]
- show how many calls we do to DEBUG,WARN,FIXME,status and WARN

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@505 c11ca15a-4712-0410-83d8-924469b57eb5

22 years ago- userAdd, if no mask is given, don't add it.
dms [Wed, 30 May 2001 14:20:40 +0000 (14:20 +0000)]
- userAdd, if no mask is given, don't add it.
- maskHostMask deals with n!u@h properly - hack!
- if there are no +n users, treat bot as ownerless and waiting for an
  owner.
- set moduleAge time for modules.pl and db_mysql.pl
- msg() deals with msgType = chat.
- getHostMask works half-assed
- ".adduser" without a mask - major and ugly hack!
- DCC CHAT now allows non DCC CHAT commands, req by lazarus

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@504 c11ca15a-4712-0410-83d8-924469b57eb5

22 years ago- news: latest: use $who instead of $::who - need a standard!
dms [Tue, 29 May 2001 14:38:26 +0000 (14:38 +0000)]
- news: latest: use $who instead of $::who - need a standard!
- tell: don't lowercase $target.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@503 c11ca15a-4712-0410-83d8-924469b57eb5

22 years ago- quick reference... small but it's a start.
dms [Tue, 29 May 2001 13:32:11 +0000 (13:32 +0000)]
- quick reference... small but it's a start.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@502 c11ca15a-4712-0410-83d8-924469b57eb5

22 years ago- added top3 irctextcounter stats
dms [Tue, 29 May 2001 13:29:24 +0000 (13:29 +0000)]
- added top3 irctextcounter stats
- fixed first-time-user passwd
- set $chan to "_default" in IsChanConf if undefined.
- modified dbGetCol to new style $select/$where args.
- &status() now deals with multiple lines input properly
- dcc close now works as it seems, enabled it
- run chanServCheck and chanLimitVerify in hookMode if we're opped
  straight away
- prevent guest/_default users from DCC CHAT
- added "factstats reqrate"
- typos, DEBUG/WARN -> VERB(,2), tiny things that don't need mentioning

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@501 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- dbGet: warn if $select is NULL
dms [Sat, 26 May 2001 14:37:03 +0000 (14:37 +0000)]
- dbGet: warn if $select is NULL
- Update: return 1 if we failed and outputted text
- rootwarn: don't check +o outside RootWarn.pl
- don't make getNewsItem resolve full-string to number; use newsS2N()
- fixed "news set blah"
- added ".tellme x" in DCC CHAT.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@500 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- allow textcounters request irrelevent of setting
dms [Sat, 26 May 2001 13:55:54 +0000 (13:55 +0000)]
- allow textcounters request irrelevent of setting
- disable banning of ppl w/ aggressive in rootwarn
- rootwarn: don't keep count of nick=root

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@499 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- fixed "news #debian latest" - how did I break it?
dms [Sat, 26 May 2001 13:43:35 +0000 (13:43 +0000)]
- fixed "news #debian latest" - how did I break it?
- $chan = "*" => "_default" for IsChanConf - fixed.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@498 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- fixed dns lookup
dms [Sat, 26 May 2001 13:34:15 +0000 (13:34 +0000)]
- fixed dns lookup
- fixed "tell blah about literal x"
- getChanConf() overwrote $chan - fixed.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@497 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- modified db_mysql to allow eleet usage of dbSet
dms [Fri, 25 May 2001 12:37:34 +0000 (12:37 +0000)]
- modified db_mysql to allow eleet usage of dbSet
- karma now works!
- if there's an attempt to use dbm, warn and prevent usage.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@496 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- fixed listvals. why did this break anyway?
dms [Wed, 23 May 2001 14:46:19 +0000 (14:46 +0000)]
- fixed listvals. why did this break anyway?
- fixed $who usage in factoid args plus standard factoids.
- minor output changes.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@495 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- commandstubs: cmd or ident could be null - semi fix.
dms [Tue, 22 May 2001 13:38:48 +0000 (13:38 +0000)]
- commandstubs: cmd or ident could be null - semi fix.
- cmdhook for news now uses Identifier
- we did a stupid netsplit check in on_quit - should fix problems.
- yet another hash{} initialization fix for news.
- chagned factoidDeleteDelay to 14 days.
- news: removed more debugging info
- debian: moved more DEBUG to use $debug

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@494 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- if autoload fails, make poor attempt to load module.
dms [Mon, 21 May 2001 13:11:45 +0000 (13:11 +0000)]
- if autoload fails, make poor attempt to load module.
- modified Question() to use substVars()
- added hack for "me => $who"
- don't do factoidDeleteDelay if stale is invalid.
- fixed typo in rootWarn.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@493 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- new, removed, modified files
dms [Fri, 18 May 2001 15:21:20 +0000 (15:21 +0000)]
- new, removed, modified files

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@492 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- added support of ircTextCounters - works! thanks to #perl@OPN.
dms [Fri, 18 May 2001 15:20:48 +0000 (15:20 +0000)]
- added support of ircTextCounters - works! thanks to #perl@OPN.
- minor change to listkeys/vals
- changed arguments to dbGet() - this breaks dbm support.
- remove karma table - created stats table instead.
- removed pub/msg/not sleep counters.
- dbReplace supports '-' for key for non-quoted value, like slashcode
- created SARit for Reply.pl - a bit cleaner now.
- Reply: attempted to move to &dbReplace but failed :(
- factoid arguments handling now works - fixed!
- factoid arguments: created &factoidArgs() - much cleaner.
- disabled automatic deletion of backed up factoids.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@491 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- don't message user if something weird happened
dms [Wed, 16 May 2001 14:16:38 +0000 (14:16 +0000)]
- don't message user if something weird happened

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@490 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- fixed problem with non-lowercased nicks
dms [Wed, 16 May 2001 13:21:21 +0000 (13:21 +0000)]
- fixed problem with non-lowercased nicks

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@489 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- fixed "tell" again!
dms [Tue, 15 May 2001 13:09:14 +0000 (13:09 +0000)]
- fixed "tell" again!

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@488 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- I broke maths when I tried to fix "999!" - fixed :-)
dms [Tue, 15 May 2001 12:34:49 +0000 (12:34 +0000)]
- I broke maths when I tried to fix "999!" - fixed :-)
- removed IsNickInAnyChan() for 'tell'.
- CTCP VERSION now returns correct version (cvs or release)
- don't use eval for factoid arguments since "next" cannot be done.
- prevent endless while loop for factoid arguments
- on_join: run netsplitCheck/chanlimitCheck if !%netsplit
- on_quit: run fe on possible chans to remove limits. enough?
- minor changes to logging output text
- fixed "news #CHAN latest"
- news: changed notice() to msg() to see if OPN reacts nicely.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@487 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- added "setup/" directory with all the tables in separate files.
dms [Sun, 13 May 2001 13:18:37 +0000 (13:18 +0000)]
- added "setup/" directory with all the tables in separate files.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@486 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- renamed setup_sql.pl to setup.pl; added findparam.pl
dms [Sun, 13 May 2001 13:17:17 +0000 (13:17 +0000)]
- renamed setup_sql.pl to setup.pl; added findparam.pl

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@485 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- moved scripts/setup_sql.pl to src/db_mysql as &createTables()
dms [Sun, 13 May 2001 13:09:27 +0000 (13:09 +0000)]
- moved scripts/setup_sql.pl to src/db_mysql as &createTables()
- &countKeys() now takes secondary option argument of column
- added &sumKey(), &dbCreateTable()
- added factoid arguments => "testfoo $blah"
- run &netsplitCheck() on on_join and on another hook.
- run &chanlimitCheck() when netsplit has "joined"
- added "factstats total" for general/total statistics on factoids.
- maths: 999! would fail; now continues properly.
- added "news stats"

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@484 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- added factoidPreventForgetList
dms [Thu, 10 May 2001 13:56:14 +0000 (13:56 +0000)]
- added factoidPreventForgetList

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@483 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- debug info on stale - we may use this incorrectly.
dms [Wed, 9 May 2001 13:43:54 +0000 (13:43 +0000)]
- debug info on stale - we may use this incorrectly.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@482 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- added CR's here and there; minor reformatting
dms [Wed, 9 May 2001 13:42:28 +0000 (13:42 +0000)]
- added CR's here and there; minor reformatting
- finally found out why netsplitservers was bugging out
- added debugging info to factoid delete backup code.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@481 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- show total commands used in "status"
dms [Tue, 8 May 2001 13:17:44 +0000 (13:17 +0000)]
- show total commands used in "status"
- more conversion of DEBUG to VERB/other
- send nickserv our pass if we notice $nickserv = 0

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@480 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- use &hasParam() instead of IsChanConf for more commands
dms [Tue, 8 May 2001 12:39:17 +0000 (12:39 +0000)]
- use &hasParam() instead of IsChanConf for more commands
- very minor changes not worth mentioning individually
- regex typo in hookMode()
- disable chanLimitVerify on on_join()
- debugging added to netsplit code

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@479 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- use ChanConfList instead of IsChanConf for newsFlush - fixes bug!
dms [Sun, 6 May 2001 14:22:34 +0000 (14:22 +0000)]
- use ChanConfList instead of IsChanConf for newsFlush - fixes bug!

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@478 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- news: don't delete news cache if tehre are no news for that chan
dms [Sun, 6 May 2001 14:13:06 +0000 (14:13 +0000)]
- news: don't delete news cache if tehre are no news for that chan
- news: add debugging.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@477 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- added "news newsflush" for manual intervention.
dms [Sun, 6 May 2001 14:07:46 +0000 (14:07 +0000)]
- added "news newsflush" for manual intervention.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@476 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- "news read ." shows expire time now.
dms [Sun, 6 May 2001 13:57:35 +0000 (13:57 +0000)]
- "news read ." shows expire time now.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@475 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- changed &Get*() to &get*(), &Delete*() to &del*()
dms [Sun, 6 May 2001 13:42:06 +0000 (13:42 +0000)]
- changed &Get*() to &get*(), &Delete*() to &del*()
- do command stats counter for News
- add DELAY support to sql INSERT calls.
- sql REPLACE works now - use for seenFlush()
- remove $sched{}{RUNNING}
- anything that used timeget indirectly - fixed. Stupid of me!

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@474 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- remove several debug messages; convert some to VERB()
dms [Fri, 4 May 2001 14:38:36 +0000 (14:38 +0000)]
- remove several debug messages; convert some to VERB()
- forgot to increment {pub|not|msg}sleep counters
- nick() and on_nick now works properly!
- on_nick_taken - no endless loops
- removed 10lines of debug code from hookMsg()
- chanlimitcheck: unset limit if in netsplit.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@473 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- added debugging to newsFlush()
dms [Tue, 1 May 2001 12:37:38 +0000 (12:37 +0000)]
- added debugging to newsFlush()

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@472 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- ...
dms [Tue, 1 May 2001 12:15:45 +0000 (12:15 +0000)]
- ...

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@471 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- if a forked process "died", forked{}{PID} somehow became $$ - fixed.
dms [Tue, 1 May 2001 12:13:26 +0000 (12:13 +0000)]
- if a forked process "died", forked{}{PID} somehow became $$ - fixed.
- chanServCheck now returns bool
- gettimeofday mistakenly used instead of &timeget()
- when nickserv pass accept, call chanserv ops in case nickserv was
  brought back to life.
- fixed up fm ][ code not to use tons of memory - nice rewrite

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@470 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoupdated to accomodate new freshmeat table
dms [Mon, 30 Apr 2001 14:45:25 +0000 (14:45 +0000)]
updated to accomodate new freshmeat table

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@469 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- forgot to set forked{}{PID} in addForked
dms [Mon, 30 Apr 2001 14:44:13 +0000 (14:44 +0000)]
- forgot to set forked{}{PID} in addForked
- renamed dbGetRowInfo to dbGetColInfo - now used by Freshmeat
- || factoids in /msg are now evalated
- fm updated to use xml db as used by FM II
- "news #DEBIAN-bots" failed - fixed.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@468 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoupdated
dms [Sat, 28 Apr 2001 14:58:59 +0000 (14:58 +0000)]
updated

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@467 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agohookMode: change chan to nick. if deopped by chanserv, check it
dms [Sat, 28 Apr 2001 14:04:44 +0000 (14:04 +0000)]
hookMode: change chan to nick.  if deopped by chanserv, check it
dont change channel limits during netsplit.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@466 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago"~forget blah" now works. thanks to ElectricElf
dms [Thu, 26 Apr 2001 14:37:28 +0000 (14:37 +0000)]
"~forget blah" now works. thanks to ElectricElf
documented user flags
public/private/notice send limit now configurable. thanks to EE
added "countrystats" command.
"blootbot: are you fixed now? :)" -- fixed. found by greycat
use hasParam instead of IsParam in UserExtra.pl/userCommands()
command "ord" handling fixed.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@465 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agofix more warnings
dms [Tue, 24 Apr 2001 12:58:49 +0000 (12:58 +0000)]
fix more warnings
set $ident in nick()

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@464 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoallow join to join irrelevent of being on chan
dms [Mon, 23 Apr 2001 12:14:04 +0000 (12:14 +0000)]
allow join to join irrelevent of being on chan
chanstats: count stats if exist - make perl happy
misc cleanup of status()
add time taken to join all channels, useless stats.
disable notify code
leakCheck: show stats on hash chanstats
mkBackup: show age of file.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@463 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agofix on_targettoofast once and for all, hopefully.
dms [Sun, 22 Apr 2001 14:58:05 +0000 (14:58 +0000)]
fix on_targettoofast once and for all, hopefully.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@462 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agomake sure chanstats don't flood
dms [Sun, 22 Apr 2001 14:01:21 +0000 (14:01 +0000)]
make sure chanstats don't flood
don't throttle if it's a perl warn message

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@461 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agowoops... forgot this aswell
dms [Sun, 22 Apr 2001 13:52:48 +0000 (13:52 +0000)]
woops... forgot this aswell

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@460 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agodisabled literal if factoid is requested via /msg by author; use literal
dms [Sun, 22 Apr 2001 13:48:09 +0000 (13:48 +0000)]
disabled literal if factoid is requested via /msg by author; use literal
instead

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@459 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agodon't call chanservcheck in joinnextchan
dms [Sun, 22 Apr 2001 12:25:06 +0000 (12:25 +0000)]
don't call chanservcheck in joinnextchan
call chanservcheck in on_endofnames
ircCheck "resets" itself if it thinks so

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@458 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agopart now warns if we're on a channel - allow it anyway.
dms [Sun, 22 Apr 2001 12:17:02 +0000 (12:17 +0000)]
part now warns if we're on a channel - allow it anyway.
added "reset" to DCC CHAT

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@457 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agotodo list, for those who want to know what "new" features will be coming
dms [Sat, 21 Apr 2001 14:37:37 +0000 (14:37 +0000)]
todo list, for those who want to know what "new" features will be coming

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@456 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agowe didn't set modified_time for deleted factoids - fixed
dms [Fri, 20 Apr 2001 13:27:04 +0000 (13:27 +0000)]
we didn't set modified_time for deleted factoids - fixed
also... if final delete factoid list is >50... don't do it!

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@455 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agochagned notice lines/sec to 3
dms [Fri, 20 Apr 2001 13:16:57 +0000 (13:16 +0000)]
chagned notice lines/sec to 3
made connectivity percentage 5 significant decimal places.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@454 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoconverted %{$blah{$blah}} to %{ $blah{$blah} }
dms [Fri, 20 Apr 2001 12:54:49 +0000 (12:54 +0000)]
converted %{$blah{$blah}} to %{ $blah{$blah} }
added IRC hooks to catch failed channel joins
chanserv function moved to joinNextChan
created chanserv function for "common" use, chanServCheck
changed cache{chanlimitChange} hash a little
chanserv check removed from on_endofnames
typo on on_invite - fixed.
chanserv/ops removed from ircCheck()
joinNextChan removed from ircCheck()
added preliminary debian BTS frontend support

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@453 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agonews: don't list new items if they don't have Text.
dms [Thu, 19 Apr 2001 12:11:54 +0000 (12:11 +0000)]
news: don't list new items if they don't have Text.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@452 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agofixed seen ""
dms [Wed, 18 Apr 2001 15:07:14 +0000 (15:07 +0000)]
fixed seen ""
added where debugging messages came from (functions)
fixed reversed use of % in if statement, stupid me :)
changed backup times for files again

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@451 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoforgot this one
dms [Wed, 18 Apr 2001 14:51:07 +0000 (14:51 +0000)]
forgot this one

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@450 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoadded flood protection for notice()
dms [Wed, 18 Apr 2001 14:50:09 +0000 (14:50 +0000)]
added flood protection for notice()
added connectivity percentage to ircstats.
other changes forgotten

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@449 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agofixed the following bugs:
dms [Wed, 18 Apr 2001 14:41:26 +0000 (14:41 +0000)]
fixed the following bugs:
[57419] on_ttf: X1 Target change too fast. Please wait 50 seconds.
[57604] !WARN! IsChanConf: lowercased chan. (Read error to
boren-[adsl-63-197-68-132.dsl.snfc21.pacbell.net]: EOF from client)

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@448 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agofix chanlimitChange time
dms [Wed, 18 Apr 2001 14:30:54 +0000 (14:30 +0000)]
fix chanlimitChange time
w3search => "blah for blah" fails - fixed.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@447 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agook... use "" around hashes that use _ bare.
dms [Tue, 17 Apr 2001 15:56:43 +0000 (15:56 +0000)]
ok... use "" around hashes that use _ bare.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@446 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago...
dms [Tue, 17 Apr 2001 15:34:03 +0000 (15:34 +0000)]
...

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@445 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoforgot to use \d+ for read shortcut
dms [Tue, 17 Apr 2001 14:03:57 +0000 (14:03 +0000)]
forgot to use \d+ for read shortcut
other changes that the last commit missed or something

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@444 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoanother round of useless changes
dms [Tue, 17 Apr 2001 12:35:59 +0000 (12:35 +0000)]
another round of useless changes

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@443 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agochanset: fixed the following problem.
dms [Mon, 16 Apr 2001 13:45:53 +0000 (13:45 +0000)]
chanset: fixed the following problem.
.chanset #debian +babeflish
.chanset #debian -babeflish
-chanunset #debian babelflish
- yet another minor bug, use !msgType for dcc chat aswell.
- selfflood proteciton for /msg
- like 4/sec or 1k/sec
- msgcount, msgbyte, msgtime
- pubcount, pubbyte, pubtime
- fixed other bugs.... weeeeeeee....

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@442 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoprevent erratic (multiple) changes of chan limit in short space of time.
dms [Sat, 14 Apr 2001 14:48:24 +0000 (14:48 +0000)]
prevent erratic (multiple) changes of chan limit in short space of time.
this would be a major problem in chanlimitVerify@IrcHelpers.pl since
it's called for every join.  Better safe than sorry.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@441 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoIRC/IrcHooks.pl
dms [Sat, 14 Apr 2001 12:17:27 +0000 (12:17 +0000)]
IRC/IrcHooks.pl
- forgot to reset msgType/who/chan
  after hookMsg in on_msg and on_public.
- on_join: if bot joins, don't do wingate/bans
  and other useless stuff
- on_join: set msgType for ICC.
- on_part: set msgType/chan/who
- on_quit: set msgType/chan/who
- on_public: make chan global for ICC
=> should fix all bugs.
=> I have no idea how this worked so brokenly.
News.pl - more more changes

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@440 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoanother round of changes, damn it was hard to figure out why news wasn't
dms [Fri, 13 Apr 2001 16:45:28 +0000 (16:45 +0000)]
another round of changes, damn it was hard to figure out why news wasn't
appearing properly - I think we still have that problem but it's semi
rare.
- Also fixed netsplit problems, forgot a next line.
- don't run all funky commands in on_join if netsplit is enabled.
- other tiny things not worth mentioning.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@439 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agonews: can make news compulsory (chanset +newsNotifyAll)
dms [Fri, 13 Apr 2001 15:23:27 +0000 (15:23 +0000)]
news: can make news compulsory (chanset +newsNotifyAll)
      and opt-out (news unnotify)
irchooks: splitted into IrcHelpers.pl so we can reload it on the fly.
factoids: added debugging for short factoids that may be botched up
          references

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@438 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agonews: added news->factoid redirection
dms [Thu, 12 Apr 2001 13:12:42 +0000 (13:12 +0000)]
news: added news->factoid redirection
ton load of minor changes or bug fixes that cannot really be summarized

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@437 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoA round of fixes:
dms [Wed, 11 Apr 2001 14:34:12 +0000 (14:34 +0000)]
A round of fixes:
- added dbReplace but it's broken
- debian infopackages shows dist
- news user cache now works properly
- "+" now works for all commands, not only for factoids

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@436 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoisStale is basically used by Debian.pl and we were using age in terms of
dms [Sat, 7 Apr 2001 15:59:17 +0000 (15:59 +0000)]
isStale is basically used by Debian.pl and we were using age in terms of
seconds but the actual function was assuming it was in days - fixed.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@435 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- now backup news file just in case.
dms [Sat, 7 Apr 2001 12:07:38 +0000 (12:07 +0000)]
- now backup news file just in case.
- Other changes we've not documented or small enough not to mention

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@434 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- load file if we enabled option on the fly before re-run.
dms [Sat, 7 Apr 2001 12:07:06 +0000 (12:07 +0000)]
- load file if we enabled option on the fly before re-run.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@433 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- we now check if CODEREF exists.
dms [Sat, 7 Apr 2001 12:06:43 +0000 (12:06 +0000)]
- we now check if CODEREF exists.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@432 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- forgot Module for news.
dms [Sat, 7 Apr 2001 12:06:26 +0000 (12:06 +0000)]
- forgot Module for news.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@431 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- write opened files on shutdown/hup
dms [Sat, 7 Apr 2001 12:05:18 +0000 (12:05 +0000)]
- write opened files on shutdown/hup

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@430 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoWhen we did a symlink to all the set commands, the string was made
dms [Fri, 6 Apr 2001 14:05:15 +0000 (14:05 +0000)]
When we did a symlink to all the set commands, the string was made
static (set to "Text") so it was broken.
also added link from Desc to Text

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@429 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoJust some more minor changes, to make some people happy, heh.
dms [Fri, 6 Apr 2001 13:56:50 +0000 (13:56 +0000)]
Just some more minor changes, to make some people happy, heh.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@428 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoMore clean ups, forgotten what they were, heh.
dms [Tue, 3 Apr 2001 12:06:08 +0000 (12:06 +0000)]
More clean ups, forgotten what they were, heh.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@427 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoforgot to add this file, heh.
dms [Sun, 1 Apr 2001 15:25:18 +0000 (15:25 +0000)]
forgot to add this file, heh.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@426 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agofinally nailed this "random" bug noticed by asuffield.
dms [Sun, 1 Apr 2001 15:16:02 +0000 (15:16 +0000)]
finally nailed this "random" bug noticed by asuffield.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@425 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoadded help for news
dms [Sun, 1 Apr 2001 15:00:33 +0000 (15:00 +0000)]
added help for news

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@424 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoSecond round of News changes and bug fixes, kudos to greycat
dms [Sun, 1 Apr 2001 15:00:05 +0000 (15:00 +0000)]
Second round of News changes and bug fixes, kudos to greycat

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@423 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoMany changes, basically added and integrated News, and bug fixes.
dms [Sat, 31 Mar 2001 14:19:14 +0000 (14:19 +0000)]
Many changes, basically added and integrated News, and bug fixes.
Some more notes:
  CommandStubs.pl     - fixed "kernel blah"
  Modules/UserDCC.pl  - dont print $user when undefined.
  modules.pl          - added News.pl
  Modules/News.pl     - new feature.
  Process.pl       - "blootbot: ok is <reply> :)" -- FIXED.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@422 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoremoved msg/say repeating code.
dms [Wed, 28 Feb 2001 12:17:54 +0000 (12:17 +0000)]
removed msg/say repeating code.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@421 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agodon't backup #DEL# factoids. asuffield.
dms [Wed, 28 Feb 2001 12:17:36 +0000 (12:17 +0000)]
don't backup #DEL# factoids. asuffield.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@420 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agofix for endless loop. asuffield.
dms [Wed, 28 Feb 2001 12:17:10 +0000 (12:17 +0000)]
fix for endless loop. asuffield.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@419 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agomsgtime updated in on_msg
dms [Wed, 28 Feb 2001 12:12:30 +0000 (12:12 +0000)]
msgtime updated in on_msg

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@418 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agomake dead-connect detection better.
dms [Wed, 28 Feb 2001 12:10:54 +0000 (12:10 +0000)]
make dead-connect detection better.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@417 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agostrip trailing whitespaces, force use of quotes to enable trailing
dms [Fri, 23 Feb 2001 12:26:15 +0000 (12:26 +0000)]
strip trailing whitespaces, force use of quotes to enable trailing
whitespace. requested by asuffield and \broken?.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@416 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agonow use "or" instead of "and" operator for "rename".
dms [Fri, 23 Feb 2001 12:25:20 +0000 (12:25 +0000)]
now use "or" instead of "and" operator for "rename".

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@415 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agoclosedcc debug
dms [Fri, 23 Feb 2001 12:24:41 +0000 (12:24 +0000)]
closedcc debug

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@414 c11ca15a-4712-0410-83d8-924469b57eb5

23 years agodownlink check update?
dms [Fri, 23 Feb 2001 12:24:22 +0000 (12:24 +0000)]
downlink check update?

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@413 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- recursive factoid linking added.
dms [Tue, 20 Feb 2001 13:01:29 +0000 (13:01 +0000)]
- recursive factoid linking added.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@412 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- lobotomy check in hookMsg
dms [Tue, 20 Feb 2001 13:01:16 +0000 (13:01 +0000)]
- lobotomy check in hookMsg

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@411 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- reformatted totally
dms [Tue, 20 Feb 2001 13:00:40 +0000 (13:00 +0000)]
- reformatted totally
- added preliminary append-to-linked-factoid support.
- all return calls now return appropriately.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@410 c11ca15a-4712-0410-83d8-924469b57eb5

23 years ago- added mkcrypt, fixed up "crypt" cmd.
dms [Tue, 20 Feb 2001 13:00:13 +0000 (13:00 +0000)]
- added mkcrypt, fixed up "crypt" cmd.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@409 c11ca15a-4712-0410-83d8-924469b57eb5