mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +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"]
|
||||
modes = []
|
||||
for mode in ('oper', 'hideoper', 'hidechans'):
|
||||
mode = irc.cmodes.get(mode)
|
||||
mode = irc.umodes.get(mode)
|
||||
if mode:
|
||||
modes.append((mode, None))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user