1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
Description: fix POD errors and typos
Origin: vendor
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=125767
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2018-07-06
--- a/lib/Net/Hotline/Client.pod
+++ b/lib/Net/Hotline/Client.pod
@@ -496,7 +496,7 @@
=item pchat_accept REF
-Accepts an invitaton to the private chat sepcified by REF.
+Accepts an invitaton to the private chat specified by REF.
In blocking task mode, returns 1 on success. In event loop mode, returns a
task number if the request was sent successfully. In both modes, it returns
@@ -504,13 +504,13 @@
=item pchat_decline REF
-Declines an invitaton to the private chat sepcified by REF.
+Declines an invitaton to the private chat specified by REF.
Not treated as a task: returns 1 on success, undef or an empty list on failure.
=item pchat_invite SOCKET, REF
-Invite the user specified by SOCKET to an existing private chat specfied by
+Invite the user specified by SOCKET to an existing private chat specified by
REF, or create a new private chat if REF is not given. There is no
C<pchat_create()> command. To create a new private chat, you must invite
someone. Call C<pchat_invite()> with your own socket number and no REF
@@ -918,9 +918,9 @@
remove the user from the userlist. That will be done for you by the
Net::Hotline::Client object.
-=over 4
+=head3 EVENTS
-=head2 EVENTS
+=over 4
=item agreement_handler CODE (SELF, TEXT)
@@ -1065,7 +1065,11 @@
TEXT Reference to the message text.
-=head2 TASKS
+=back
+
+=head3 TASKS
+
+=over 4
=item ban_handler CODE (SELF, TASK)
|