raisedragon / pircbotx

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

Ability to set Realname #136

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1.9: outputThread.sendRawLineNow("USER " + getLogin() + " 8 * :" + 
getVersion());
2.0: sendRaw().rawLineNow("USER " + configuration.getLogin() + " 8 * :" + 
configuration.getVersion());

It would be wonderful if instead of using the version for Realname, you were 
able to set what realname really was. I understand that 1.9 development has 
stopped, but I don't really plan on using 2.0, so if you decide to add this 
feature, would you mind adding it to 1.9 as well?

Trying to think of reasons that this isn't already implemented, I'm coming up 
blank. If you do not wish to add this option, would you at least mind shedding 
some light as to why?

Thanks,
Yeti

Original issue reported on code.google.com by BranicY...@live.co.uk on 12 Jul 2013 at 1:33

GoogleCodeExporter commented 9 years ago
As an additional note, using version for the USER identification also means you 
cant set version to null or "", which I also see to be a slight downfall.

Original comment by BranicY...@live.co.uk on 12 Jul 2013 at 2:12

GoogleCodeExporter commented 9 years ago
I generally don't update old versions. This greatly simplifies development 
since I don't have to support multiple versions with completely different 
features and bug fixes. Its already hard enough dealing with the differences 
between 1.9 and 2.0

I checked and this is a leftover from PircBot. I've simply updated the relevant 
methods over time

Added in Revision f8b25846adc4. Use configurationBuilder.setRealname("Your real 
name");, defaults to version. You cannot set it to anything blank (null, "", "  
 ", etc)

Original comment by Lord.Qua...@gmail.com on 13 Jul 2013 at 12:28