zD12 / pircbotx

Automatically exported from code.google.com/p/pircbotx
0 stars 0 forks source link

Login and hostmask cannot be obtained in InviteEvent #177

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
event.getUser() in InviteEvent only returns the nickname even though the server 
sends the full hostmask.
Therefore, it's impossible to find out the hostmask or login of the person who 
invited the bot to a channel.

Original issue reported on code.google.com by kinaj.e...@freenet.de on 25 May 2014 at 8:07

GoogleCodeExporter commented 9 years ago
Once I fix creating users and channels in Issue #148 I'll be able to fix this 
one

Original comment by Lord.Qua...@gmail.com on 28 May 2014 at 4:00

GoogleCodeExporter commented 9 years ago
Perfect. That would be great!
Thanks for all the work you put into this project! :)

Original comment by kinaj.e...@freenet.de on 29 May 2014 at 3:13

GoogleCodeExporter commented 9 years ago
In the latest snapshot there is a new UserHostmask class. You can get your 
information with event.getUserHostmask().getLogin() and .getHostname() (note 
its correctly called hostname instead of hostmask)

Original comment by Lord.Qua...@gmail.com on 31 Oct 2014 at 3:38