3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-01-11 12:42:34 +01:00

docs: fix markdown formatting

This commit is contained in:
James Lu 2015-12-26 16:47:25 -08:00
parent e4815a72e1
commit bf2b256b84
2 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ On UnrealIRCd, because SETHOST is mapped to CHGHOST, `:GL SETHOST blah` would re
Some hooks, like MODE, are more complex and can include the entire state of a channel! This will be further described later. `:GL MODE #chat +o PyLink-devel` is converted into (pretty-printed for readability):
- ```
```
['001ZJZW01',
'MODE',
{'modes': [('+o', '38QAAAAAA')],
@ -59,5 +59,5 @@ Plugins like Relay need this to know that the uplink has finished bursting all i
The following hooks represent regular IRC commands sent between servers.
<br><br><br>
<br><br>
(under construction)

View File

@ -126,7 +126,7 @@ Then, the parsed mode lists can be applied to channel using `utils.applyModes(ir
Modes are stored in channels and users as sets: `(userobj or chanobj).modes`:
- ```
```
<+GLolol> PyLink-devel, eval irc.users[source].modes
<@PyLink-devel> {('i', None), ('x', None), ('w', None), ('o', None)}
<+GLolol> PyLink-devel, eval irc.channels['#chat'].modes
@ -135,7 +135,7 @@ Modes are stored in channels and users as sets: `(userobj or chanobj).modes`:
*With the exception of channel prefix modes* (op, voice, etc.), which are stored as a dict of sets in `chanobj.prefixmodes`:
- ```
```
<@GLolol> PyLink-devel, eval irc.channels['#chat'].prefixmodes
<+PyLink-devel> {'ops': set(), 'halfops': set(), 'voices': {'38QAAAAAA'}, 'owners': set(), 'admins': set()}
```