9 Commits

Author SHA1 Message Date
ian%hixie.ch
9ac65a0869 =This is quite a serious bug. Turns out that modules (of course) run in the scope of the method in which they were loaded... which means they can access variables such as 'nick' that are defined using my in the global scope. Ouch. Anyway, this fixes the problem with bots randomly losing their nick while using Karma. I would have caught it earlier, but I don't use Karma myself, so...
git-svn-id: svn://10.0.0.236/trunk@153979 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 13:19:23 +00:00
ian%hixie.ch
cfab0c9e10 No longer support 'foo karma' or 'foo rank' since they clashed with 'help karma' and 'help rank' and other commands of that syntax.
git-svn-id: svn://10.0.0.236/trunk@152168 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-02 18:01:12 +00:00
ian%hixie.ch
7466d72fea Be silently compatible with Infobot's 'karma' syntax. Bug 142377
git-svn-id: svn://10.0.0.236/trunk@148059 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 09:47:53 +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
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
d988f6df1d Minor typo in help text, ++ should be --. b=132195, p=mental, r=hixie
git-svn-id: svn://10.0.0.236/trunk@117372 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 16:54:07 +00:00
ian%hixie.ch
908e34841f Improve help info. Change the command syntax to not clash with the Infobot module. Made the -- and ++ commands slightly more discriminating. Fixed an error in an error message (how long till ' loses its special meaning... grr...). Made people drop off the list when they hit zero. Made the individual karma report give the position of the person in the list. Fixed a logic errer in the private stats code. b=123713, r=kerz
git-svn-id: svn://10.0.0.236/trunk@114965 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:34:49 +00:00
ian%hixie.ch
70cff4c514 oops, stray dot meant the private karma scores were getting corrupted! r=kerz
git-svn-id: svn://10.0.0.236/trunk@108866 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-25 01:25:27 +00:00
ian%hixie.ch
05498db6d7 Initial checkin of a karma module. r=kerz b=111757
git-svn-id: svn://10.0.0.236/trunk@108865 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-25 01:01:35 +00:00