mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +01:00
inspircd: remove a useless and misformatted debug line
This commit is contained in:
parent
80766e051e
commit
cdb575236e
@ -199,13 +199,14 @@ class InspIRCdProtocol(TS6BaseProtocol):
|
||||
(not self.is_internal_server(numeric)):
|
||||
raise LookupError('No such PyLink client/server exists.')
|
||||
|
||||
log.debug('(%s) inspircd._send_with_prefixModes: received %r for mode list', self.name, modes)
|
||||
if ('+o', None) in modes and not utils.isChannel(target):
|
||||
# https://github.com/inspircd/inspircd/blob/master/src/modules/m_spanningtree/opertype.cpp#L26-L28
|
||||
# Servers need a special command to set umode +o on people.
|
||||
self._oper_up(target)
|
||||
|
||||
self.apply_modes(target, modes)
|
||||
joinedmodes = self.join_modes(modes)
|
||||
|
||||
if utils.isChannel(target):
|
||||
ts = ts or self._channels[target].ts
|
||||
self._send_with_prefix(numeric, 'FMODE %s %s %s' % (target, ts, joinedmodes))
|
||||
|
Loading…
Reference in New Issue
Block a user