Missing information in IrcUser under IrcChannel UserJoined event

Bug #808619 reported by Steve Gates Junior on 2011-07-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Alexander Regueiro

Bug Description

private void Channel_UserJoined(object sender, IrcChannelUserEventArgs e)
            var channel = sender as IrcChannel;
            Console.WriteLine("NickName: {0}", e.ChannelUser.User.NickName);
            Console.WriteLine("RealName: {0}", e.ChannelUser.User.RealName);
            Console.WriteLine("UserName: {0}", e.ChannelUser.User.UserName);
            Console.WriteLine("HostName: {0}", e.ChannelUser.User.HostName);
Based on the code snippet above, I am getting the output as shown below

NickName: texxan

Related branches

Alexander Regueiro (alexreg) wrote :

This is expected behaviour. Unless the user in question is either the local user (IrcLocalUser object) or you have explicitly requested the user information (via a WhoIs query for example), then RealName/UserName/HostName ought to be blank at this point.

Changed in ircdotnet:
assignee: nobody → Alex Regueiro (noldorin)
Steve Gates Junior (dr0zaxx) wrote :

:ircdotnet!~<email address hidden> JOIN :#testing123

Changed in ircdotnet:
importance: Undecided → Medium
Changed in ircdotnet:
status: New → Confirmed
status: Confirmed → In Progress
Changed in ircdotnet:
status: In Progress → Fix Committed
Changed in ircdotnet:
milestone: none → 0.4.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers