Skip to content

Commit bf6016f

Browse files
committed
Fix output in herald delete as well
1 parent 3f89b6d commit bf6016f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/herald.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import time
44
from collections import defaultdict
55

6-
from sqlalchemy import Table, Column, String, PrimaryKeyConstraint, select
6+
from sqlalchemy import Table, Column, String, PrimaryKeyConstraint
77

88
from cloudbot import hook
99
from cloudbot.util import database
@@ -48,7 +48,7 @@ def herald(text, nick, chan, db, reply):
4848
db.execute(query)
4949
db.commit()
5050

51-
reply("greeting \'{}\' for {} has been removed".format(greeting[0], nick))
51+
reply("greeting \'{}\' for {} has been removed".format(greeting, nick))
5252

5353
load_cache(db)
5454
else:

0 commit comments

Comments
 (0)