mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-28 05:29:25 +01:00
coreplugin: fix typo
We're looking up user modes, not channel modes.
This commit is contained in:
parent
924172291f
commit
f1e22685b2
@ -205,7 +205,7 @@ def handle_newservice(irc, source, command, args):
|
|||||||
host = irc.serverdata["hostname"]
|
host = irc.serverdata["hostname"]
|
||||||
modes = []
|
modes = []
|
||||||
for mode in ('oper', 'hideoper', 'hidechans'):
|
for mode in ('oper', 'hideoper', 'hidechans'):
|
||||||
mode = irc.cmodes.get(mode)
|
mode = irc.umodes.get(mode)
|
||||||
if mode:
|
if mode:
|
||||||
modes.append((mode, None))
|
modes.append((mode, None))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user