mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
Fix 5ff7b83fdd
.
This commit is contained in:
parent
95e2a796c6
commit
13c2bd3fcc
@ -886,7 +886,7 @@ class Channel(callbacks.Plugin):
|
|||||||
# Make sure we don't elicit information about private channels to
|
# Make sure we don't elicit information about private channels to
|
||||||
# people or channels that shouldn't know
|
# people or channels that shouldn't know
|
||||||
capability = ircdb.makeChannelCapability(channel, 'op')
|
capability = ircdb.makeChannelCapability(channel, 'op')
|
||||||
hostmask = irc.state.nickToHostmask(nick)
|
hostmask = irc.state.nickToHostmask(msg.nick)
|
||||||
if 's' in irc.state.channels[channel].modes and \
|
if 's' in irc.state.channels[channel].modes and \
|
||||||
msg.args[0] != channel and \
|
msg.args[0] != channel and \
|
||||||
not ircdb.checkCapability(hostmask, capability) and \
|
not ircdb.checkCapability(hostmask, capability) and \
|
||||||
|
Loading…
Reference in New Issue
Block a user