Skip to content

Commit

Permalink
Update sopel/db.py
Browse files Browse the repository at this point in the history
agreed

Co-Authored-By: deathbybandaid <[email protected]>
  • Loading branch information
Exirel and deathbybandaid authored May 1, 2019
1 parent 7ff3bb0 commit 7e2d78d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sopel/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def merge_nick_groups(self, first_nick, second_nick):

# CHANNEL FUNCTIONS

def reset_channel_value(self, channel, key):
def delete_channel_key(self, channel, key):
"""Resets the value for a given key to be associated with a channel."""
channel = Identifier(channel).lower()
self.execute('DELETE FROM channel_values WHERE channel = ? AND key = ?', [channel, key])
Expand Down

0 comments on commit 7e2d78d

Please sign in to comment.