3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 04:02:45 +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
if secret and not verbose:
# Hide secret channels from normal users.
irc.error('Unknown channel %r.' % channel, private=True)
irc.error('Unknown channel %r.' % channel)
return
nicks = [irc.users[u].nick for u in c.users]