Miscommunication between callbacks.py and MiscCommands.py over what the boolean in Privmsg._mores meant.

This commit is contained in:
Jeremy Fincher 2003-09-22 13:07:20 +00:00
parent f325de3a76
commit 8680d464c9
1 changed files with 2 additions and 2 deletions

View File

@ -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)