mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-24 03:04:05 +01:00
ngircd: send burst modes after NJOIN, if there are any
This commit is contained in:
parent
961e8ae991
commit
28313fd478
@ -202,6 +202,11 @@ class NgIRCdProtocol(IRCS2SProtocol):
|
||||
|
||||
self.apply_modes(channel, (('+%s' % prefix, uid) for prefix in userpair[0]))
|
||||
|
||||
if modes:
|
||||
# Burst modes separately if there are any.
|
||||
log.debug("(%s) sjoin: bursting modes %r for channel %r now", self.name, modes, channel)
|
||||
self.mode(server, channel, modes)
|
||||
|
||||
### Handlers
|
||||
|
||||
def handle_pass(self, source, command, args):
|
||||
|
Loading…
Reference in New Issue
Block a user