172 Commits

Author SHA1 Message Date
ian%hixie.ch
2e86320d56 reap children correctly (attempt number 77281). Correct misspellings in comments. Remove some redundant output.
git-svn-id: svn://10.0.0.236/trunk@147591 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 20:15:05 +00:00
ian%hixie.ch
feca2b11b5 Convert RDF.bm to use a real XML parser (now requires XML::RSS, available at your nearest CPAN mirror). Thanks to Jeff Bisbee. See bug 154826.
git-svn-id: svn://10.0.0.236/trunk@147589 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 20:06:38 +00:00
ian%hixie.ch
7beefc92fa Bug 154337: A new output style for help, especially for people with few modules loaded. Based on a patch by Joel Thornton.
git-svn-id: svn://10.0.0.236/trunk@147563 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 18:18:49 +00:00
ian%hixie.ch
0a50f3a33a Add missing name.
git-svn-id: svn://10.0.0.236/trunk@147560 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 17:18:12 +00:00
ian%hixie.ch
3e3ffe5a4e Script for restarting mozbot from crontab. Based on a script by Joel Thornton <joelpt@eml.cc>. See bug 153043.
git-svn-id: svn://10.0.0.236/trunk@147559 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 17:17:04 +00:00
ian%hixie.ch
a2132225fa Basic NickServ support. Tested with Q@cserve.quakenet.org, let me know if you have problems on other networks.
git-svn-id: svn://10.0.0.236/trunk@147555 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 13:03:50 +00:00
ian%hixie.ch
20838a980b primitive 'bitch' support
git-svn-id: svn://10.0.0.236/trunk@147554 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 13:01:22 +00:00
ian%hixie.ch
45eaf664f3 Updating credits for last checkin.
git-svn-id: svn://10.0.0.236/trunk@147553 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 12:13:31 +00:00
ian%hixie.ch
9f38bbec5f Bug 159567: improvements to user management. Based on a patch by Adam Di Carlo. Improvements include: 'deleteuser' admin command. 'changepassword' admin command. Better error messages when the two new passwords don't match. Edits to the INSTALL file. Also removes the recently added 'sleep' statement on quit since it wasn't helping.
git-svn-id: svn://10.0.0.236/trunk@147552 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 12:09:38 +00:00
ian%hixie.ch
9a2600ff7b Minor documentation changes (nothing substantial)
git-svn-id: svn://10.0.0.236/trunk@147551 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 11:06:48 +00:00
ian%hixie.ch
9d85751b19 Minor fixes: check that we can actually resolve the server (Net::IRC was being remarkably unhelpful in that regard), make the helpline a bit shorter (servers were cropping it), make us sleep when we quit (not sure it'll help, but maybe it'll help with the problem of us not always getting our /quit message across)
git-svn-id: svn://10.0.0.236/trunk@147547 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 00:23:57 +00:00
ian%hixie.ch
08fcdfc36e Bug 215848: Cope with servers that don't like our IRC name. This is basically untested.
git-svn-id: svn://10.0.0.236/trunk@147546 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 00:06:46 +00:00
ian%hixie.ch
ecaab186e1 Bug 134600: Add some more modules to the default set.
git-svn-id: svn://10.0.0.236/trunk@147545 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 23:46:54 +00:00
ian%hixie.ch
fb10baddda Implement incoming Notice support in the BotModule APL. Bug 169882. Largely based on a patch by Ken Coar.
git-svn-id: svn://10.0.0.236/trunk@147544 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 23:35:49 +00:00
ian%hixie.ch
95c851d82d More diagnostics for localAddr users. (check the version of Net::IRC)
git-svn-id: svn://10.0.0.236/trunk@147543 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 23:03:52 +00:00
ian%hixie.ch
ca65ee34fb Bug 131324: Stop the bot from saying the same thing n times in a row.
git-svn-id: svn://10.0.0.236/trunk@147539 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 21:01:48 +00:00
ian%hixie.ch
b87703215a Bug 124748: Stop time drift once and for all by using a globally initialised time() value. This was done as a pretty blind search-and-replace, so may have caused regressions and may be non-optimal. Please file bugs if you spot problems. This adds the entry 'time' to the event object.
git-svn-id: svn://10.0.0.236/trunk@147531 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 15:47:35 +00:00
ian%hixie.ch
6860d2fc47 Make all instances of the time function have brackets, to make them easier to find.
git-svn-id: svn://10.0.0.236/trunk@147528 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 15:19:12 +00:00
ian%hixie.ch
1f7988e8e0 Bug 134617: Let users tell the bot to shut up. Adds a 'getMessageQueue' function to the bot API. Also fixes some unrelated minor issues in the developer documentation and makes a tiny optimisation in drainmsgqueue.
git-svn-id: svn://10.0.0.236/trunk@147527 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 15:08:42 +00:00
ian%hixie.ch
f99f1a5879 Typo...
git-svn-id: svn://10.0.0.236/trunk@147259 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 21:28:27 +00:00
ian%hixie.ch
b355d49371 Stop an infinite loop that occurs if you have questions all in the same category. Bug found by ltost.
git-svn-id: svn://10.0.0.236/trunk@147258 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 21:22:50 +00:00
ian%hixie.ch
f968389410 Upgrade ignoredUsers and implement ignoredTargets. Fixes bug 133067, adds a bunch of documentation. Other very minor typographical fixes.
git-svn-id: svn://10.0.0.236/trunk@147093 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-20 21:10:28 +00:00
ian%hixie.ch
c6dd55dac7 'IGNORE' doesn't seem to work on all platforms. Let's go back to our old reaping code. It still seems to fix the bug. Also, fix another instance of the '/bin/bash might be tainted' problem.
git-svn-id: svn://10.0.0.236/trunk@147091 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-20 18:17:53 +00:00
ian%hixie.ch
b4ca327769 Change our child process handling behaviour to be more proactive and hopefully less likely to hang. This in theory fixes bug 111987, but who knows. Feel free to reopen that bug if it doesn't help or if it makes things worse (e.g. if you start seeing zombie processes everywhere). It seemed to work for me on Debian.
git-svn-id: svn://10.0.0.236/trunk@147089 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-20 17:27:09 +00:00
ian%hixie.ch
7a073c75f5 oops, removed the wrong line two changes ago. This makes Infobot work again. Thanks to Eira for noticing the bug.
git-svn-id: svn://10.0.0.236/trunk@146134 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-17 12:16:12 +00:00
ian%hixie.ch
e5d679bdf8 labels can only go on blocks, not if statements, apparently. fixes bug 139646
git-svn-id: svn://10.0.0.236/trunk@146094 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 19:56:40 +00:00
ian%hixie.ch
121e4edce8 make help module give the topics for that module. fixes bug 145369.
git-svn-id: svn://10.0.0.236/trunk@146093 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 19:45:43 +00:00
ian%hixie.ch
23edabad73 allow smilies at the end of greetings
git-svn-id: svn://10.0.0.236/trunk@146092 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 19:34:01 +00:00
ian%hixie.ch
d370228c84 more happy, more kinky, and more consistent in its handlings of various forms of greetings.
git-svn-id: svn://10.0.0.236/trunk@145998 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-14 13:52:43 +00:00
ian%hixie.ch
63b599dd62 Make help slightly more helpful
git-svn-id: svn://10.0.0.236/trunk@145997 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-14 13:45:40 +00:00
ian%hixie.ch
ed31142824 Correct my spelling and my maths.
git-svn-id: svn://10.0.0.236/trunk@145996 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-14 13:45:06 +00:00
ian%hixie.ch
d3f9999600 Make the opme command also take into account masks.
git-svn-id: svn://10.0.0.236/trunk@145956 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-13 13:15:57 +00:00
ian%hixie.ch
afba3e8c3e Remove some redundant checks for bug 133134.
git-svn-id: svn://10.0.0.236/trunk@145925 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-12 16:37:25 +00:00
ian%hixie.ch
ed375fdb84 Some more minor changes, and the addition of a response to '/me bites mozbot' (the 'kinky' responses, although they aren't very raunchy)
git-svn-id: svn://10.0.0.236/trunk@145924 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-12 16:35:59 +00:00
ian%hixie.ch
08e0b26ba1 New temperature scales (optimised for air temperatures)
git-svn-id: svn://10.0.0.236/trunk@145923 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-12 16:29:29 +00:00
ian%hixie.ch
302c09062d Make Rude actually tell you the right host when it fails. Also, clarify a comment.
git-svn-id: svn://10.0.0.236/trunk@145818 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-09 15:13:53 +00:00
ian%hixie.ch
a0297d9b4b Minor fix to autoop help. Patch by mental.
git-svn-id: svn://10.0.0.236/trunk@145817 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-09 15:13:03 +00:00
ian%hixie.ch
d66177a54f Use DBM database instead of config file for seen data. Note that there is no migration path for old seen data, and that the config file isn't updated to remove the now superfluous variables.
git-svn-id: svn://10.0.0.236/trunk@145816 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-09 14:54:02 +00:00
ian%hixie.ch
b7fc6f52c5 better error handling (to handle the case where the servers are totally down, like now)
git-svn-id: svn://10.0.0.236/trunk@145814 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-09 13:58:13 +00:00
ian%hixie.ch
130d4f80ef Make mozbot slightly more willing to insult people (won't help much since the servers are down, but oh well)
git-svn-id: svn://10.0.0.236/trunk@145813 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-09 13:54:27 +00:00
ian%hixie.ch
cd92b19066 minor comment fixup
git-svn-id: svn://10.0.0.236/trunk@145812 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-09 13:53:17 +00:00
ian%hixie.ch
b871b37ad2 Implement a hitting command, add some new variants to some existing commands
git-svn-id: svn://10.0.0.236/trunk@145811 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-09 13:49:36 +00:00
ian%hixie.ch
9c36805f50 Fix a minor warning
git-svn-id: svn://10.0.0.236/trunk@145810 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-09 13:48:22 +00:00
ian%hixie.ch
6ef172b36f Minor documentation fixes: typoes, slight inaccuracies, etc
git-svn-id: svn://10.0.0.236/trunk@145809 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-09 13:47:54 +00:00
ian%hixie.ch
b119f11485 Fix a typo which confused older Perls, and fix a big error in the handling of uppercase channel names. b=MasterTLH (thanks dude), p=Hixie, r=justdave,bbaetz
git-svn-id: svn://10.0.0.236/trunk@124957 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 13:56:22 +00:00
ian%hixie.ch
15f14b3444 '<stuart> right now its showing a teranchela(sp?) eating something or something' r=kerz
git-svn-id: svn://10.0.0.236/trunk@118570 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 21:23:57 +00:00
ian%hixie.ch
427c693215 Bumping version number to 2.5.
git-svn-id: svn://10.0.0.236/trunk@117854 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-01 07:46:34 +00:00
ian%hixie.ch
745ddc7a1c Infobot is a little eager. 'aaa is bbb' was being handled as 'is bbb' because 'aaa' matched the 'ah' regexp. Oops. r=justdave.
git-svn-id: svn://10.0.0.236/trunk@117849 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-01 06:19:26 +00:00
ian%hixie.ch
1669b9565b Bumping version number to 2.4.
git-svn-id: svn://10.0.0.236/trunk@117846 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-01 05:17:41 +00:00
ian%hixie.ch
58c977da34 Kooking Module for those times when someone is annoying you. Original code by Keunwoo Lee, ported by Pike. b=128010, r=zach.
git-svn-id: svn://10.0.0.236/trunk@117845 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-01 05:10:01 +00:00