/away information in /whois
Posted: Sun Sep 14, 2008 7:10 am
I am trying to get my /away information to show in a /whois, due to a request from a few users. However, for some reason it's not showing at all.
Here's what I see if I use a new (unregistered) user to view /whois:
I checked the m_whois code to make sure, and there is a
between the IRC server name and the line that indicates that the user is an operator. So this should in theory get output, unless user->away is set incorrectly. I also did a traffic capture between the client and server for this session, and I can't see that message at all (but I can see the two around it).
The only thing I can think of is that a usermode is blocking this, or that a spamfilter is. None of the spamfilter rules looks like a match (I use the default list for the moment). I've also tried with only modes +wx on a user, to make sure it's not a usermode issue, and also started Unreal with no services, just to check that it isn't services removing that.
Also, the counter between /away <message> and /away does seem to work. I left it overnight and got about 8 hours when I disabled it, so the internal counter works correctly.
I can't think what I am missing here. Can anyone please shed some light on this for me?
Here's what I see if I use a new (unregistered) user to view /whois:
Code: Select all
[07:48] * Valerion is now away - Reason : Testing ...
[07:48] ->> Valerion is Valerion@???? (Valerion)
[07:48] ->> Valerion is a registered nick
[07:48] ->> Valerion is on: (chanlist)
[07:48] ->> Valerion using irc.example.org (Example Server)
[07:48] ->> Valerion is a Network Administrator
[07:48] ->> Valerion is available for help.
[07:48] ->> Valerion is using a Secure Connection
[07:48] ->> Valerion has been idle for 6 seconds (Logged on at 2008/09/14 07:44:31)
[07:48] ->> Valerion :End of /WHOIS list.
[07:48] * Valerion is no longer away : Gone for 19 secondsCode: Select all
if (user->away)
sendto_one(sptr, rpl_str(RPL_AWAY), me.name, parv[0], name, user->away);The only thing I can think of is that a usermode is blocking this, or that a spamfilter is. None of the spamfilter rules looks like a match (I use the default list for the moment). I've also tried with only modes +wx on a user, to make sure it's not a usermode issue, and also started Unreal with no services, just to check that it isn't services removing that.
Also, the counter between /away <message> and /away does seem to work. I left it overnight and got about 8 hours when I disabled it, so the internal counter works correctly.
I can't think what I am missing here. Can anyone please shed some light on this for me?