Skip to content

Commit 9ffe886

Browse files
committed
Fix plugin method access in herald.py
1 parent e9d4e70 commit 9ffe886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/herald.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def welcome(nick, message, event, db, bot):
9999
candidates = greet.lower().split(' ')[1:]
100100
text = random.choice(candidates)
101101
if grab is not None:
102-
out = grab.grabrandom(text, chan, message)
102+
out = grab.code.grabrandom(text, chan, message)
103103
else:
104104
out = "grab.py not loaded, original herald: {}".format(greet)
105105

0 commit comments

Comments
 (0)