[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xchat-discuss
Subject:    UnrealIRCD quirks
From:       Troy Bell <troy () troysplace ! net>
Date:       2001-05-18 22:56:09
[Download RAW message or body]

For the whois return part, I added my own stuff into the case
statement so that the whois return was (hopefully) full and correct
without any items not being passed through the colouring (yes i'm in
Australia :) scheme:

inbound.c(around line 1530 (just before default:)):

    case 378: //:is connecting from *@host.com
        EMIT_SIGNAL (XP_TE_WHOIS2, serv->front_session, word[4],
                    word_eol[5] + 1, NULL, NULL, 0);
    break;
    case 379: //is using modes +modes
        EMIT_SIGNAL (XP_TE_WHOIS2, serv->front_session, word[4],
                    word_eol[5], NULL, NULL, 0);
        break;
    case 307: //:is a registered nick
        EMIT_SIGNAL (XP_TE_WHOIS2, serv->front_session, word[4],
                    word_eol[5] + 1, NULL, NULL, 0);
        break;
    case 320: //swhois change line (unrealircd)
        EMIT_SIGNAL (XP_TE_WHOIS2, serv->front_session, word[4],
                    word_eol[5] + 1, NULL, NULL, 0);
        break;

The rawlog looks something like:

:irc.bit.net.au 311 paranoid chopper dev null * :chopper
:irc.bit.net.au 379 paranoid chopper is using modes +oiwgskaANcfrxeWqt
:irc.bit.net.au 378 paranoid chopper :is connecting from *@irc.bit.net.au
:irc.bit.net.au 307 paranoid chopper :is a registered nick
:irc.bit.net.au 319 paranoid chopper :*#Opers ^#BITnet *#B105 
:irc.bit.net.au 312 paranoid chopper irc.bit.net.au :BITnet IRC Server
:irc.bit.net.au 301 paranoid chopper :is away: (elsewhere) [BX-MsgLog On]
:irc.bit.net.au 313 paranoid chopper :is a Network Administrator
:irc.bit.net.au 320 paranoid chopper :is an Aerobics Oz-Style instructor
:irc.bit.net.au 317 paranoid chopper 173900 990052183 :seconds idle, signon time
:irc.bit.net.au 318 paranoid chopper :End of /WHOIS list.

Just made the whois 'complete' (for me anyway).

--- [chopper] (dev@null) : chopper
--- [chopper] is using modes +oiwgskaANcfrxeWqt
--- [chopper] is connecting from *@irc.bit.net.au
--- [chopper] is a registered nick
--- [chopper] *#Opers ^#BITnet *#B105 
--- [chopper] irc.bit.net.au :BITnet IRC Server
--- [chopper] is away (is away: (elsewhere) [BX-MsgLog On])
--- [chopper] is a Network Administrator
--- [chopper] is an Aerobics Oz-Style instructor
--- [chopper] idle 48:18:20, signon: Thu May 17 08:29:43
--- [chopper] End of WHOIS list.

I know at least the 'is a registered nick' is present on DALnet as
well.  Not sure if this should all be added to the source (is it a
standard? or do they choose random numbers for their features?) as I
don't mind adding the code each release myself...

Kind regards,

-- 
Troy Bell               troy@troysplace.net        /~\
Systems Administrator   http://troysplace.net/     \ /
                                                    X
ASCII Ribbon Campaign Against HTML Email and News  / \
-
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/lists/
Posted By:     Troy Bell <troy@troysplace.net>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic