mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-26 04:51:08 -05:00
Grapnel: treat channel names case insensitively
This commit is contained in:
parent
acf23329fc
commit
13bb1bbb96
@ -175,6 +175,7 @@ class Grapnel(callbacks.Plugin):
|
||||
|
||||
network = networkIrc.network
|
||||
token = secrets.token_hex(TOKEN_LENGTH)
|
||||
channel = ircutils.toLower(channel)
|
||||
|
||||
cur = self.conn.cursor()
|
||||
cur.execute("""
|
||||
@ -198,6 +199,7 @@ class Grapnel(callbacks.Plugin):
|
||||
<network> and <channel> default to the current network and channel if not specified.
|
||||
"""
|
||||
network = networkIrc.network
|
||||
channel = ircutils.toLower(channel)
|
||||
cur = self.conn.cursor()
|
||||
cur.execute("""
|
||||
SELECT id FROM webhooks
|
||||
|
Loading…
x
Reference in New Issue
Block a user