From e06f07d402a69ea308fa037ba01902e50f8b368c Mon Sep 17 00:00:00 2001 From: Brett Kelly Date: Tue, 1 Apr 2003 02:30:10 +0000 Subject: [PATCH] private/public messages working now --- plugins/Notes.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/Notes.py b/plugins/Notes.py index 5622c16e5..e214d3a46 100644 --- a/plugins/Notes.py +++ b/plugins/Notes.py @@ -42,6 +42,7 @@ import privmsgs import callbacks import ircutils import debug +import ircmsgs class Notes(callbacks.Privmsg): @@ -98,8 +99,8 @@ class Notes(callbacks.Privmsg): def makePrivate(self, msg): args = list(msg.args) args[0] = msg.nick - msg.args = tuple(args) - return msg + return ircmsgs.IrcMsg(command = msg.command, prefix = msg.prefix, + args = tuple(args)) # def setNoteUnread(self, irc, msg, args): # "set a note as unread"