Skip to content

Commit 49bd51f

Browse files
committed
I AM DUMB
1 parent 60dad9e commit 49bd51f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

plugins/core_sieve.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def sieve_suite(bot, event, _hook):
7575
# check command spam tokens
7676
if _hook.type == "command":
7777
# right now ratelimiting is per-channel, but this can be changed
78-
uid = "/".join(event.conn.name, event.chan, event.nick.lower())
78+
uid = "/".join([event.conn.name, event.chan, event.nick.lower()])
7979
buckets = bot.memory["buckets"]
8080

8181
tokens = conn.config.get('ratelimit', {}).get('tokens', 17.5)

plugins/whois.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ def whois(text):
1414
try:
1515
i = "\x02Registrar\x02: {}".format(data["registrar"][0])
1616
info.append(i)
17-
except Exception:
17+
except Exception as e:
18+
print(e)
1819
pass
1920

2021
try:

0 commit comments

Comments
 (0)