1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 16:13:13 +02:00
Files
unrealircd/include
Bram Matthys 7c400e7dc1 - Ok, finished away notification in WATCH. It now shows the away reasons too.
This new feature (away notify) is announced in 005 (ISUPPORT) as: WATCHOPTS=A

  Format is: WATCH A +UserOne +UserTwo

  New numerics to cope with away notification in WATCH are:
  RPL_NOWISAWAY: to indicate the user is away _when adding_ it to WATCH list
  RPL_GONEAWAY:  user was not away, but is now
  RPL_NOTAWAY:   user was away, but is no longer away
  RPL_NOWISAWAY: user was away, and still is, but the reason changed
  Example:

  WATCH A +Target
  Request to add user 'Target' to the watch list with away notification

  :maintest.test.net 609 MySelf Target ~blih test.testnet 1204309588 :not here atm
  Reply to watch add: user is online and away, reason is provided

  :maintest.test.net 599 MySelf Target ~blih test.testnet 1204309588 :is no longer away
  User is back (no longer away)

  :maintest.test.net 598 MySelf Target ~blih test.testnet 1204309722 :lunch
  State change: user is now away, reason is provided

  :maintest.test.net 597 MySelf Target ~blih test.testnet 1204309738 :shopping, bbl
  User is still away, but reason changed.

  The syntax for each numeric is:
  <nickname> <username> <hostname> <awaysince> :<away reason>
  In case of 599 (RPL_NOTAWAY) it is:
  <nickname> <username> <hostname> <awaysince> :is no longer away

  For the record, this is all based on a draft from codemastr from 2004, which was
  implemented in Unreal3.3 (devel branch) in 2006. Today, in 2008 it was updated
  with away reason support and backported to Unreal3.2. Because away notification
  hasn't been used until now (due to it only being in Unreal3.3) we felt it was
  safe to break some numerics.
2008-02-29 18:44:07 +00:00
..
2007-06-27 15:51:47 +00:00
2004-01-08 19:00:44 +00:00
2003-01-02 19:32:58 +00:00
2002-03-05 23:09:39 +00:00
2002-01-19 17:04:04 +00:00
2004-05-12 22:02:05 +00:00
2002-02-16 20:15:41 +00:00
...
2004-11-26 22:28:13 +00:00
2004-05-12 23:05:40 +00:00
2001-04-16 15:36:30 +00:00
2000-02-28 22:45:44 +00:00
2004-05-12 22:02:05 +00:00
2000-07-14 20:22:59 +00:00
2004-05-13 16:39:23 +00:00
2004-05-13 16:39:23 +00:00
2004-02-22 02:52:12 +00:00
2004-05-13 16:39:23 +00:00