3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-18 08:02:51 +01:00

exec: rewrap docstirngs

This commit is contained in:
James Lu 2016-12-09 21:42:56 -08:00
parent 9e2598612a
commit 3d4cb02ce2

View File

@ -57,6 +57,7 @@ def raw(irc, source, args):
"""<text> """<text>
Admin-only. Sends raw text to the uplink IRC server. Admin-only. Sends raw text to the uplink IRC server.
\x02**WARNING: THIS CAN BREAK YOUR NETWORK IF USED IMPROPERLY!**\x02""" \x02**WARNING: THIS CAN BREAK YOUR NETWORK IF USED IMPROPERLY!**\x02"""
permissions.checkPermissions(irc, source, ['exec.raw']) permissions.checkPermissions(irc, source, ['exec.raw'])
@ -76,6 +77,7 @@ def inject(irc, source, args):
"""<text> """<text>
Admin-only. Injects raw text into the running PyLink protocol module, replying with the hook data returned. Admin-only. Injects raw text into the running PyLink protocol module, replying with the hook data returned.
\x02**WARNING: THIS CAN BREAK YOUR NETWORK IF USED IMPROPERLY!**\x02""" \x02**WARNING: THIS CAN BREAK YOUR NETWORK IF USED IMPROPERLY!**\x02"""
permissions.checkPermissions(irc, source, ['exec.inject']) permissions.checkPermissions(irc, source, ['exec.inject'])