aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorZoffix Znet <cpan@zoffix.com>2016-10-15 14:45:23 -0400
committerZoffix Znet <cpan@zoffix.com>2016-10-15 14:45:23 -0400
commit4411e6f5498beec81c95eb9810c37cd7ab56a0db (patch)
treeac86576b4d0b80e3a7df4faa1507a55fb5b88fa2 /docs
parentacd52a7219f7518355fe8e1216ea5faf3ff18bf7 (diff)
Fix numeric events being unsubscrabable due to incorrect identifiers
Fixes #31
Diffstat (limited to 'docs')
-rw-r--r--docs/02-event-reference.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/02-event-reference.md b/docs/02-event-reference.md
index a2c6fdd..fdf9d0a 100644
--- a/docs/02-event-reference.md
+++ b/docs/02-event-reference.md
@@ -28,7 +28,7 @@
- [`irc-started`](#irc-started)
- [`irc-to-me`](#irc-to-me)
- [`irc-unknown`](#irc-unknown)
- - [`irc-XXX`](#irc-xxx)
+ - [`irc-nXXX`](#irc-nXXX)
- [Up Next](#up-next)
---
@@ -61,7 +61,7 @@ that the returned value from the event handler should be discarded.
## Event Map
-In the chart below, `irc-XXX` stands for numeric events where `XXX` is a
+In the chart below, `irc-nXXX` stands for numeric events where `XXX` is a
three-digit number. See [this numerics
table](https://www.alien.net.au/irc/irc2numerics.html) for meaning of codes,
depending on the server used.
@@ -80,8 +80,8 @@ irc-addressed â–¶ irc-to-me â–¶ irc-notice-channel â–¶ irc-notice â
irc-mode-channel â–¶ irc-mode â–¶ irc-all
irc-mode-me â–¶ irc-mode â–¶ irc-all
- irc-connected â–¶ irc-XXX â–¶ irc-numeric â–¶ irc-all
- irc-XXX â–¶ irc-numeric â–¶ irc-all
+ irc-connected â–¶ irc-nXXX â–¶ irc-numeric â–¶ irc-all
+ irc-nXXX â–¶ irc-numeric â–¶ irc-all
irc-join â–¶ irc-all
irc-nick â–¶ irc-all
irc-part â–¶ irc-all
@@ -141,7 +141,7 @@ Possible message objects received by event handler:
### `irc-connected`
```
-irc-connected â–¶ irc-001 â–¶ irc-numeric â–¶ irc-all
+irc-connected â–¶ irc-n001 â–¶ irc-numeric â–¶ irc-all
```
Triggered on `001` numeric IRC command that indicates we successfully
@@ -256,7 +256,7 @@ Receives `IRC::Client::Message::Notice::Me` message object.
### `irc-numeric`
```
-irc-numeric â–¶ irc-XXX â–¶ irc-all
+irc-numeric â–¶ irc-nXXX â–¶ irc-all
```
Triggered on numeric IRC commands.
@@ -367,14 +367,14 @@ if possible.
Receives `IRC::Client::Message::Unknown` message object.
-### `irc-XXX`
+### `irc-nXXX`
**Note:*** `XXX` stands for a three-digit numeric code of the command that
-triggered the event, for example `irc-001`. See `irc-numeric` for event trigger
+triggered the event, for example `irc-n001`. See `irc-numeric` for event trigger
that responds to all numerics.
```
-irc-XXX â–¶ irc-numeric â–¶ irc-all
+irc-nXXX â–¶ irc-numeric â–¶ irc-all
```
Triggered on numeric IRC commands.