mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Miscommunication between callbacks.py and MiscCommands.py over what the boolean in Privmsg._mores meant.
This commit is contained in:
parent
f325de3a76
commit
8680d464c9
@ -297,8 +297,8 @@ class MiscCommands(callbacks.Privmsg):
|
|||||||
userHostmask = msg.prefix.split('!', 1)[1]
|
userHostmask = msg.prefix.split('!', 1)[1]
|
||||||
if nick:
|
if nick:
|
||||||
try:
|
try:
|
||||||
(public, L) = self._mores[nick]
|
(private, L) = self._mores[nick]
|
||||||
if public:
|
if not private:
|
||||||
self._mores[userHostmask] = L[:]
|
self._mores[userHostmask] = L[:]
|
||||||
else:
|
else:
|
||||||
irc.error(msg, '%s has no public mores.' % nick)
|
irc.error(msg, '%s has no public mores.' % nick)
|
||||||
|
Loading…
Reference in New Issue
Block a user