chiark / gitweb /
make karma channel-specific, to avoid over-writing it
authorMatthew Vernon <matthewv@chiark.greenend.org.uk>
Tue, 19 Apr 2011 14:44:10 +0000 (15:44 +0100)
committerMatthew Vernon <matthewv@chiark.greenend.org.uk>
Tue, 19 Apr 2011 14:44:10 +0000 (15:44 +0100)
Servus-chiark.py

index ec35a7ff039bacbd071a1a9ca5c5902e93d6b333..c1157f60ddbaddbab928f9dd6d83b72454aad329 100644 (file)
@@ -103,7 +103,7 @@ def fishq(bot, cmd, nick, conn, public,f):
                     
 # Karma implementation
 import cPickle
                     
 # Karma implementation
 import cPickle
-karmafilename = "chiark-karma"
+karmafilename = "chiark-karma-"+channel
 # load the karma db
 try:
     f = open(karmafilename, "r")
 # load the karma db
 try:
     f = open(karmafilename, "r")