Skip to content

Commit

Permalink
Added RPL_WHOISIDLE to IRC protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
prologic committed Aug 29, 2015
1 parent c2ff8dc commit 9abf681
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions circuits/protocols/irc/replies.py
Expand Up @@ -119,6 +119,14 @@ def RPL_ENDOFWHO(mask):
return _M(u("315"), mask, u("End of WHO list"))


def RPL_WHOISIDLE(nick, idle, signon):
return _M(
u("317"), nick,
u("{0}").format(idle), u("{0}").format(signon),
u("seconds idle, signon time")
)


def RPL_ENDOFWHOIS(nick):
return _M(u("318"), nick, u("End of WHOIS list"))

Expand Down

0 comments on commit 9abf681

Please sign in to comment.