Atomic icon indicating copy to clipboard operation
Atomic copied to clipboard

Read server's ISUPPORT and get prefix there

Open 14mRh4X0r opened this issue 10 years ago • 5 comments

Also stores the ISUPPORT parameters in an easily accessible HashMap and fixes a slight parsing bug with IRCv3 message tags

14mRh4X0r avatar Oct 23 '15 20:10 14mRh4X0r

There's deeper places that this should be handled.

Notably, pIRCbot is hard-coded to say that v means + and o means @.

indrora avatar Oct 23 '15 20:10 indrora

Second quick check: how well does the IETF document line up with http://www.irc.org/tech_docs/005.html ?

indrora avatar Oct 23 '15 20:10 indrora

I'll update this pull request later with an implementation on a deeper level. The IETF document matches the irc.org doc as far as I can tell, but the latter does provide more information about real-world implementations.

14mRh4X0r avatar Oct 30 '15 16:10 14mRh4X0r

I'd like IRCService to be able to tell what the ISUPPORT blocks state. This way, we can strip out the nick prefixes (and handle things like the absolutely strange $foo channel type that I encountered)

indrora avatar Nov 02 '15 00:11 indrora

As my local version is now, PircBot has a Map<String, String> getISupport(). It requires more rewriting than I anticipated.

14mRh4X0r avatar Nov 07 '15 23:11 14mRh4X0r