From 8680d464c9936faf620c08cb43c8bfd49875d338 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 22 Sep 2003 13:07:20 +0000 Subject: [PATCH] Miscommunication between callbacks.py and MiscCommands.py over what the boolean in Privmsg._mores meant. --- src/MiscCommands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MiscCommands.py b/src/MiscCommands.py index 7210a00cc..928d02a30 100755 --- a/src/MiscCommands.py +++ b/src/MiscCommands.py @@ -297,8 +297,8 @@ class MiscCommands(callbacks.Privmsg): userHostmask = msg.prefix.split('!', 1)[1] if nick: try: - (public, L) = self._mores[nick] - if public: + (private, L) = self._mores[nick] + if not private: self._mores[userHostmask] = L[:] else: irc.error(msg, '%s has no public mores.' % nick)