3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 09:19:23 +01:00

bots: PseudoClient->client in help text & error messages

This commit is contained in:
James Lu 2016-11-18 23:13:56 -08:00
parent d467d27ecd
commit c77ad6faa9

View File

@ -9,7 +9,7 @@ from pylinkirc.log import log
def spawnclient(irc, source, args):
"""<nick> <ident> <host>
Admin-only. Spawns the specified PseudoClient on the PyLink server.
Admin-only. Spawns the specified client on the PyLink server.
Note: this doesn't check the validity of any fields you give it!"""
irc.checkAuthenticated(source, allowOper=False)
try:
@ -32,7 +32,7 @@ def quit(irc, source, args):
irc.error("Not enough arguments. Needs 1-2: nick, reason (optional).")
return
if irc.pseudoclient.uid == irc.nickToUid(nick):
irc.error("Cannot quit the main PyLink PseudoClient!")
irc.error("Cannot quit the main PyLink client!")
return
u = irc.nickToUid(nick)