Merge pull request #538 from nyuszika7h/fix/later-tell-prefixnick

Later: Always prefix nick if telling in channel
This commit is contained in:
Valentin Lorentz 2014-01-13 09:24:35 -08:00
commit a55f40dc68
1 changed files with 4 additions and 1 deletions

View File

@ -245,7 +245,10 @@ class Later(callbacks.Plugin):
private = self.registryValue('private')
for (when, whence, note) in notes:
s = self._formatNote(when, whence, note)
irc.reply(s, private=private)
if private:
irc.reply(s, private=True)
else:
irc.reply(s, private=False, prefixNick=True)
self._flushNotes()
def _formatNote(self, when, whence, note):