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

commands: remove extraneous private=True from showchan

(cherry picked from commit 79e2d20d9d)
This commit is contained in:
James Lu 2017-04-27 07:28:26 -07:00 committed by James Lu
parent 539ad668cf
commit 5cea0fa73a

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]