remove debug printing from a few plugins
This commit is contained in:
parent
9eb5b236a6
commit
595a37f0e0
|
@ -8,7 +8,6 @@ from util import hook
|
|||
|
||||
def add_quote(conn, chan, nick, add_nick, msg):
|
||||
now = time.time()
|
||||
print repr((conn, add_nick, nick, msg, time))
|
||||
conn.execute('''insert or fail into quotes (chan, nick, add_nick,
|
||||
msg, time) values(?,?,?,?,?)''',
|
||||
(chan, nick, add_nick, msg, now))
|
||||
|
|
|
@ -29,7 +29,6 @@ def sieve_suite(bot, input, func, args):
|
|||
|
||||
acl = bot.config.get('acls', {}).get(func.__name__)
|
||||
if acl:
|
||||
print acl
|
||||
if 'deny-except' in acl:
|
||||
allowed_channels = map(str.lower, acl['deny-except'])
|
||||
if input.chan.lower() not in allowed_channels:
|
||||
|
|
|
@ -112,7 +112,6 @@ def twitter(inp):
|
|||
return 'error: hashtag not found'
|
||||
id = random.choice(tweets).text
|
||||
id = id[id.rfind(':') + 1:]
|
||||
print id
|
||||
return twitter(id)
|
||||
|
||||
if getting_nth:
|
||||
|
|
Loading…
Reference in New Issue