3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 03:29:28 +01:00

commands: remove extraneous private=True from showchan

This commit is contained in:
James Lu 2017-04-27 07:28:26 -07:00 committed by GitHub
parent 4205694a65
commit 79e2d20d9d

View File

@ -99,7 +99,7 @@ def showchan(irc, source, args):
secret = ('s', None) in c.modes secret = ('s', None) in c.modes
if secret and not verbose: if secret and not verbose:
# Hide secret channels from normal users. # Hide secret channels from normal users.
irc.error('Unknown channel %r.' % channel, private=True) irc.error('Unknown channel %r.' % channel)
return return
nicks = [irc.users[u].nick for u in c.users] nicks = [irc.users[u].nick for u in c.users]