mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 22:24:20 +01:00
Removed makePrivate.
This commit is contained in:
parent
2230149cf0
commit
0d99f0662a
@ -117,10 +117,6 @@ class Notes(callbacks.Privmsg):
|
|||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def makePrivate(self, msg):
|
|
||||||
"Returns an IrcMsg object with an updated target value."
|
|
||||||
return ircmsgs.privmsg(msg.nick, msg.args[1])
|
|
||||||
|
|
||||||
def setAsRead(self, noteid):
|
def setAsRead(self, noteid):
|
||||||
"Changes a message's 'read' value to true in the notes table."
|
"Changes a message's 'read' value to true in the notes table."
|
||||||
self.cursor.execute('UPDATE notes SET read=1 WHERE id=%s', noteid)
|
self.cursor.execute('UPDATE notes SET read=1 WHERE id=%s', noteid)
|
||||||
|
Loading…
Reference in New Issue
Block a user