alexyoung / ircd.js

A Node ircd (IRC daemon)
GNU General Public License v3.0
528 stars 90 forks source link

Still having issues PMing people. #20

Closed treeform closed 12 years ago

treeform commented 12 years ago

It looks like the user can join and be active on a channel but not be in the user store's list of people.

You can look at my branch i put print statements when iterating over users:

[server1, C: treeform] PRIVMSG luque foo looking for luque user: Blah64 false user: Stranj false user: Kynes false user: SkyWay false user: ikarus false user: Kettch23 false user: Sudazima false user: treeform false user: Matt false

but when some one does a who:

[server1, C: Kettch23] WHO #aff S: [Kettch23] :localhost 352 Kettch23 #aff stranj 87-194-127-38.bethere.co.uk localhost Stranj H :0 stranj S: [Kettch23] :localhost 352 Kettch23 #aff SkyWay a91-156-174-241.elisa-laajakaista.fi localhost SkyWay H :0 SkyWay S: [Kettch23] :localhost 352 Kettch23 #aff Xyx 42-1-223.ftth.xms.internl.net localhost XyxAFK H :0 Xyx S: [Kettch23] :localhost 352 Kettch23 #aff ikarus 92.82.225.135 localhost @ikarus H :0 ... S: [Kettch23] :localhost 352 Kettch23 #aff Kettch business-188-111-108-254.static.arcor-ip.net localhost @Kettch23 H :0 Kettch S: [Kettch23] :localhost 352 Kettch23 #aff sudazima 138-206.mxp.dsl.internl.net localhost Sudazima H :0 sudazima S: [Kettch23] :localhost 352 Kettch23 #aff me 108-60-121-46.static.wiline.com localhost treeform H :0 me S: [Kettch23] :localhost 352 Kettch23 #aff luuk ip5654cd0e.speed.planet.nl localhost luque H :0 luuk S: [Kettch23] :localhost 352 Kettch23 #aff Matt pool-71-191-197-244.washdc.fios.verizon.net localhost Matt H :0 Matt S: [Kettch23] :localhost 315 Kettch23 #aff :End of /WHO list.

but you can see he is in the list as "luuk" ....

treeform commented 12 years ago

Oh and here is when some thing says some thing:

[server1, C: Stranj] PRIVMSG #aff :whatever you can do, appreciated as always S: [SkyWay] :Stranj!stranj@87-194-127-38.bethere.co.uk PRIVMSG #aff :whatever you can do, appreciated as always S: [XyxAFK] :Stranj!stranj@87-194-127-38.bethere.co.uk PRIVMSG #aff :whatever you can do, appreciated as always S: [ikarus] :Stranj!stranj@87-194-127-38.bethere.co.uk PRIVMSG #aff :whatever you can do, appreciated as always S: [Kettch23] :Stranj!stranj@87-194-127-38.bethere.co.uk PRIVMSG #aff :whatever you can do, appreciated as always S: [Sudazima] :Stranj!stranj@87-194-127-38.bethere.co.uk PRIVMSG #aff :whatever you can do, appreciated as always S: [treeform] :Stranj!stranj@87-194-127-38.bethere.co.uk PRIVMSG #aff :whatever you can do, appreciated as always S: [luque] :Stranj!stranj@87-194-127-38.bethere.co.uk PRIVMSG #aff :whatever you can do, appreciated as always S: [Matt] :Stranj!stranj@87-194-127-38.bethere.co.uk PRIVMSG #aff :whatever you can do, appreciated as always

treeform commented 12 years ago

when he relogged the PMs worked. But when he relogged the channels did not get his leave message. Here is his relog line:

[server1, C: luque] PRIVMSG #helpme :brb S: [treeform] :luque!luuk@ip5654cd0e.speed.planet.nl PRIVMSG #helpme :brb [server1, C: luque] PING LAG1774070418 S: [luque] :localhost PONG localhost :localhost [server1, C: null] NICK luque S: [null] :null!null@86.84.205.14 NICK :luque [server1, C: luque] USER luuk luuk irc.aff2aw.com :luuk S: [luque] :localhost 001 luque Welcome to the ircn IRC network :luque!luuk@86.84.205.14 S: [luque] :localhost 002 luque Your host is localhost running version 0.0.7 S: [luque] :localhost 003 luque This server was created on 2011-10-31 S: [luque] :localhost 004 luque 0.0.7 S: [luque] :localhost 375 luque :- Message of the Day - S: [luque] :localhost 372 luque :- S: [luque] :localhost 376 luque :End of /MOTD command. S: [luque] :luque!luuk@86.84.205.14 MODE luque +w luque [server1, C: luque] JOIN #aff x S: [Stranj] :luque!luuk@ip5654cd0e.speed.planet.nl JOIN #aff S: [SkyWay] :luque!luuk@ip5654cd0e.speed.planet.nl JOIN #aff S: [XyxAFK] :luque!luuk@ip5654cd0e.speed.planet.nl JOIN #aff S: [ikarus] :luque!luuk@ip5654cd0e.speed.planet.nl JOIN #aff S: [Kettch23] :luque!luuk@ip5654cd0e.speed.planet.nl JOIN #aff S: [Sudazima] :luque!luuk@ip5654cd0e.speed.planet.nl JOIN #aff S: [treeform] :luque!luuk@ip5654cd0e.speed.planet.nl JOIN #aff S: [luque] :luque!luuk@ip5654cd0e.speed.planet.nl JOIN #aff S: [Matt] :luque!luuk@ip5654cd0e.speed.planet.nl JOIN #aff S: [luque] :luque!luuk@ip5654cd0e.speed.planet.nl JOIN #aff S: [luque] :localhost 331 luque #aff :No topic is set S: [luque] :localhost 353 luque @ #aff :Stranj SkyWay XyxAFK @ikarus @Kettch23 Sudazima @treeform luque Matt luque S: [luque] :localhost 366 luque #aff :End of /NAMES list. [server1, C: luque] MODE #aff S: [luque] :localhost 324 luque #aff ++ntrs [server1, C: luque] MODE #aff S: [luque] :localhost 324 luque #aff ++ntrs [server1, C: luque] WHO #aff

alexyoung commented 12 years ago

I'll have to try to recreate this in the unit tests so I can figure out what it's doing.

alexyoung commented 12 years ago

I've tried to duplicate this but I haven't recreated it. Do you know if the user was ever in the UserDatabase (server.users), or wasn't added in the first place?

treeform commented 12 years ago

Not sure, if you join irc.aff2aw.com #aff its happening there all the time... I am there as treeform and we can try to reproduce it.