3
0
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:
James Lu 2017-09-05 19:19:44 -07:00
parent d3892a85be
commit ae06484aea

View File

@ -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: