From 13c2bd3fcc5e42a8f57f1faa6d97bd7b1df37a86 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 9 Oct 2014 14:20:25 +0000 Subject: [PATCH] Fix 5ff7b83fdd74bc9f5aaeca6d2289dfdb87ab5994. --- plugins/Channel/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Channel/plugin.py b/plugins/Channel/plugin.py index 65ae9bead..55df35216 100644 --- a/plugins/Channel/plugin.py +++ b/plugins/Channel/plugin.py @@ -886,7 +886,7 @@ class Channel(callbacks.Plugin): # Make sure we don't elicit information about private channels to # people or channels that shouldn't know 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 \ msg.args[0] != channel and \ not ircdb.checkCapability(hostmask, capability) and \