mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
private/public messages working now
This commit is contained in:
parent
c618a8fd19
commit
e06f07d402
@ -42,6 +42,7 @@ import privmsgs
|
|||||||
import callbacks
|
import callbacks
|
||||||
import ircutils
|
import ircutils
|
||||||
import debug
|
import debug
|
||||||
|
import ircmsgs
|
||||||
|
|
||||||
class Notes(callbacks.Privmsg):
|
class Notes(callbacks.Privmsg):
|
||||||
|
|
||||||
@ -98,8 +99,8 @@ class Notes(callbacks.Privmsg):
|
|||||||
def makePrivate(self, msg):
|
def makePrivate(self, msg):
|
||||||
args = list(msg.args)
|
args = list(msg.args)
|
||||||
args[0] = msg.nick
|
args[0] = msg.nick
|
||||||
msg.args = tuple(args)
|
return ircmsgs.IrcMsg(command = msg.command, prefix = msg.prefix,
|
||||||
return msg
|
args = tuple(args))
|
||||||
|
|
||||||
# def setNoteUnread(self, irc, msg, args):
|
# def setNoteUnread(self, irc, msg, args):
|
||||||
# "set a note as unread"
|
# "set a note as unread"
|
||||||
|
Loading…
Reference in New Issue
Block a user