mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 11:39:25 +01:00
commands: remove extraneous private=True from showchan
(cherry picked from commit 79e2d20d9d
)
This commit is contained in:
parent
539ad668cf
commit
5cea0fa73a
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user