From bf2b256b84a6abf7dc5b8381736cd050492066c4 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 26 Dec 2015 16:47:25 -0800 Subject: [PATCH] docs: fix markdown formatting --- docs/technical/hooks-reference.md | 4 ++-- docs/technical/pmodule-spec.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/technical/hooks-reference.md b/docs/technical/hooks-reference.md index 362cbe1..4eeebfe 100644 --- a/docs/technical/hooks-reference.md +++ b/docs/technical/hooks-reference.md @@ -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. -


+

(under construction) diff --git a/docs/technical/pmodule-spec.md b/docs/technical/pmodule-spec.md index 60df0db..ae8f226 100644 --- a/docs/technical/pmodule-spec.md +++ b/docs/technical/pmodule-spec.md @@ -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()} ```