mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +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]
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user