Skip to content

Commit 6ea720f

Browse files
committed
Fix deloptout
1 parent e7ce46a commit 6ea720f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/core/optout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def deloptout(text, event, chan, db, conn):
221221

222222
pattern = args.pop(0)
223223

224-
deleted = yield from event.async_call(del_optout, db, conn, chan, pattern)
224+
deleted = yield from event.async_call(del_optout, db, conn.name, chan, pattern)
225225

226226
if deleted:
227227
return "Deleted optout '{}' in channel '{}'.".format(pattern, chan)

0 commit comments

Comments
 (0)