mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-26 13:01:06 -05:00
Fix 5ff7b83fdd74bc9f5aaeca6d2289dfdb87ab5994.
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…
x
Reference in New Issue
Block a user