mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 15:44:06 +01:00
Added.
This commit is contained in:
parent
227738f78e
commit
86a217c4b3
@ -140,7 +140,7 @@ class Poll(callbacks.Privmsg, plugins.ChannelDBHandler):
|
|||||||
db.commit()
|
db.commit()
|
||||||
cursor.execute("""SELECT id FROM polls WHERE question=%s""", question)
|
cursor.execute("""SELECT id FROM polls WHERE question=%s""", question)
|
||||||
id = cursor.fetchone()[0]
|
id = cursor.fetchone()[0]
|
||||||
irc.replySuccess('(poll #%s)' % id)
|
irc.replySuccess('(poll #%s added)' % id)
|
||||||
|
|
||||||
def close(self, irc, msg, args):
|
def close(self, irc, msg, args):
|
||||||
"""[<channel>] <id>
|
"""[<channel>] <id>
|
||||||
|
Loading…
Reference in New Issue
Block a user