zD12 / pircbotx

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

getExceptBans() not working #184

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Log on to a server running unreal (irc.electrocode.net)
2.Attempt to getExceptBans
3.

What is the expected output? What do you see instead?
Return "q" as part of it, instead it does not. 

What version of the product are you using? On what operating system?

PircbotX 2.0.1
Please provide any additional information below.

Original issue reported on code.google.com by jzhou2...@gmail.com on 17 Jul 2014 at 11:39

GoogleCodeExporter commented 9 years ago
Ummm.... getExceptBans? There's no method called that

Original comment by Lord.Qua...@gmail.com on 17 Jul 2014 at 12:05

GoogleCodeExporter commented 9 years ago
http://site.pircbotx.googlecode.com/hg-history/2.0/apidocs/index.html says 
otherwise

Original comment by jzhou2...@gmail.com on 17 Jul 2014 at 12:14

GoogleCodeExporter commented 9 years ago
Err.. Its under ServerInfo()

Original comment by jzhou2...@gmail.com on 17 Jul 2014 at 12:14

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Update. getExceptBans() appears to be returning an empty string after further 
testing on PircBotX 2.1-SNAPshot

Original comment by jzhou2...@gmail.com on 17 Jul 2014 at 1:58

GoogleCodeExporter commented 9 years ago
Poked around, getExceptBans is based on EXCEPTS or ban exceptions (+e). Some 
servers have nothing for a value, some list the mode. 

Based on your earlier issue I think your looking for EXTBANS, or ban 
*extensions*. It's a neat feature so I added ServerInfo.getExtBanPrefix() and 
ServerInfo.getExtBanList() in Revision 32bddeb859d7

Please let me know if this isn't the mode you were wanting

Original comment by Lord.Qua...@gmail.com on 31 Aug 2014 at 8:37