Added ison.

This commit is contained in:
Jeremy Fincher 2004-08-17 16:58:47 +00:00
parent 0bdbae6e47
commit 376e67def3

View File

@ -643,4 +643,9 @@ def password(password, prefix=''):
assert password, 'password must not be empty.' assert password, 'password must not be empty.'
return IrcMsg(prefix=prefix, command='PASS', args=(password,)) return IrcMsg(prefix=prefix, command='PASS', args=(password,))
def ison(nick, prefix=''):
if conf.supybot.protocols.irc.strictRfc():
assert isNick(nick), repr(nick)
return IrcMsg(prefix=prefix, command='ISON', args=(nick,))
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: