zorael / kameloso

IRC bot with Twitch support
Boost Software License 1.0
9 stars 3 forks source link

Add support for identifying users by hostmask #96

Closed zorael closed 4 years ago

zorael commented 4 years ago

This adds experimental support for servers that don't support authentication via services. Much more testing is needed before it can be considered a first-class citizen.

So far basic authentication works, as does enlisting (and presumably delisting?) whitelists/operators/blacklists. Everything that specifically uses IRCUser.account will have to be altered to use idOf. WHOIS still works and remains necessary to look up unseen users, but it won't have to be done as often (as a single non-target event is enough to get the hostmask).

Some extra refactoring snuck in, particularly such that made plugins use a new IRCPluginState.settings , as well as more top-level stuff using Kameloso.settings, instead of the global kameloso.common.settings. We can't completely get rid of the latter without making more drastic changes, but its use is now minimised.