From 0b1d083a45b915d95a44693e3ad1a10608c461d7 Mon Sep 17 00:00:00 2001 From: Thomas Coppi Date: Sat, 29 Sep 2007 10:52:27 -0600 Subject: [PATCH] Typo --- modules/config.py | 2 +- modules/markov.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/config.py b/modules/config.py index 067392c..d8c1b9a 100644 --- a/modules/config.py +++ b/modules/config.py @@ -13,5 +13,5 @@ def __init__(scrap): #identify with nickserv or not scrap.identify = True - scrap.talk = True + scrap.talk = False diff --git a/modules/markov.py b/modules/markov.py index 4f0059c..7835bc8 100644 --- a/modules/markov.py +++ b/modules/markov.py @@ -66,7 +66,7 @@ def markov_learn(c,list,bot): statetab[w1] = {} statetab[w1][w2] = " " - if random.randint(0,10) == 0 and bot.config.talk == 1: + if random.randint(0,10) == 0 and bot.talk == 1: c.privmsg(list[5], "%s: %s" % (list[0], emit_chain(" "))) def emit_chain(key): -- 2.11.4.GIT