mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 09:19:23 +01:00
Irc: rename 'chandata' in SQUIT payload to 'channeldata'
This commit is contained in:
parent
c68c941c1d
commit
87757a60a3
@ -1376,7 +1376,7 @@ class Protocol():
|
|||||||
|
|
||||||
return {'target': split_server, 'users': affected_users, 'name': sname,
|
return {'target': split_server, 'users': affected_users, 'name': sname,
|
||||||
'uplink': uplink, 'nicks': affected_nicks, 'serverdata': serverdata,
|
'uplink': uplink, 'nicks': affected_nicks, 'serverdata': serverdata,
|
||||||
'chandata': old_channels}
|
'channeldata': old_channels}
|
||||||
|
|
||||||
def parseCapabilities(self, args):
|
def parseCapabilities(self, args):
|
||||||
"""
|
"""
|
||||||
|
@ -100,7 +100,7 @@ The following hooks represent regular IRC commands sent between servers.
|
|||||||
- `target` is the SID of the server being split, while `name` is the server's name.
|
- `target` is the SID of the server being split, while `name` is the server's name.
|
||||||
- `users` is a list of all UIDs affected by the netsplit. `nicks` maps channels to lists of nicks affected.
|
- `users` is a list of all UIDs affected by the netsplit. `nicks` maps channels to lists of nicks affected.
|
||||||
- `serverdata` provides the `IrcServer` object of the server that was split.
|
- `serverdata` provides the `IrcServer` object of the server that was split.
|
||||||
- `chandata` provides the channel index of the network before the netsplit was processed, allowing plugins to track who was affected by a netsplit in a channel specific way.
|
- `channeldata` provides the channel index of the network before the netsplit was processed, allowing plugins to track who was affected by a netsplit in a channel specific way.
|
||||||
|
|
||||||
- **TOPIC**: `{'channel': channel, 'setter': numeric, 'text': 'Welcome to #Lounge!, 'oldtopic': 'Welcome to#Lounge!'}`
|
- **TOPIC**: `{'channel': channel, 'setter': numeric, 'text': 'Welcome to #Lounge!, 'oldtopic': 'Welcome to#Lounge!'}`
|
||||||
- `oldtopic` denotes the original topic, and `text` indicates the new one being set.
|
- `oldtopic` denotes the original topic, and `text` indicates the new one being set.
|
||||||
|
Loading…
Reference in New Issue
Block a user