mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
exttargets: tweak docstring syntax for better readability
This commit is contained in:
parent
d3892a85be
commit
ae06484aea
@ -201,7 +201,7 @@ def realname(irc, host, uid):
|
|||||||
$realname exttarget handler. This takes one argument: a glob, which is compared case-insensitively to the user's real name.
|
$realname exttarget handler. This takes one argument: a glob, which is compared case-insensitively to the user's real name.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
$realname:*James*: matches anyone with "James" in their real name.
|
$realname:*James* -> matches anyone with "James" in their real name.
|
||||||
"""
|
"""
|
||||||
groups = host.split(':')
|
groups = host.split(':')
|
||||||
if len(groups) >= 2:
|
if len(groups) >= 2:
|
||||||
|
Loading…
Reference in New Issue
Block a user