Ahhh right...I see what you mean...it should appear to come from the users server because the source of the message is sptr->user->server->name. Very odd indeed! Oh well doesn't really matter now as it would appear that u2.10.11 won't do that if as you said you change the sptr to an &me.
David -----Original Message----- From: Kev [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 8:10 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Coder-Com] Hmm. > I'm probably way off base here but I think it might be to do with the fact > that jbuf->jb_source in joinbuf_init (channel.c) gets filled with the > contents of sptr from m_join (joinbuf_init(&create, sptr, cptr, > JOINBUF_TYPE_CREATE, 0, TStime());) which I think is the senders name and as > the sender would be a nick on the network and not a server it would appear > that the person has opped themselves, but like I said I'm probably way way > off base! What you're describing is part of u2.10.11--the thing he's refering to has been seen in virtually all patchlevels of u2.10.10. However, u2.10.11's joinbuf_flush() does indeed use jbuf->jb_source as the origin of the MODE, so you would see a user opping himself in the case where two CREATEs cross. It would also be fine to change that to &me, of course, so we see the local server opping the user. -- Kevin L. Mitchell <[EMAIL PROTECTED]>