🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #5439

Re: TIdIRC Access Violation

#5439
From: Tog
Date: Thu, 09 Sep 2004 00:42
25 lines
1919 bytes
Yes I checked my code and it is NULL.

Quote:
You could always re-write TIdIRC's source code to pass in the actual Nick
string instead of a TIdIRCUser* pointer.

Why wasn't that done in the first place? The code as is now is useless. It
won't tell me who's being +op'ed. Why do I need an OpEvent if it doesn't
tell me anything. Since mIRC is able to catch this, the server obviously
sends the correct information, but TIdIRC has a design flaw and doesn't pass
the correct values when this event occurs.

Quote:
Because the data is not available to begin with.

This is info taken from the Receive event on TIdIRC:

:TestNick!~yeah@HOSTMASK JOIN :#torqueexplorer
:ChanServ!services@maxgaming.net MODE #torqueexplorer +o TestNick

As you can see, the correct information is received, but the handling of
that information is flawed in my opinion.

I've also noticed this in the AUser->Nick in the OnNotice event, it's also
NULL, while the nick is actually received.
Technical Details
Message-ID: <413fa6e1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <413f93a5$1@newsgroups.borland.com> <413f973c$1@newsgroups.borland.com> <413f9bee@newsgroups.borland.com> <413f9fcf$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,d6069b12da25a878
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: <Tog>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <413f93a5$1@newsgroups.borland.com> <413f973c$1@newsgroups.borland.com> <413f9bee@newsgroups.borland.com> <413f9fcf$1@newsgroups.borland.com>
Subject: Re: TIdIRC Access Violation
Date: Thu, 9 Sep 2004 02:42:11 +0200
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 83.109.19.110
Message-ID: <413fa6e1$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1094690529 83.109.19.110 (8 Sep 2004 17:42:09 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail