Enable use of cached whowas info for /IG* and /UNIG* commands

Previously these codepaths were dead because it was passing an argument like "+HOST" to check_whowas_nick_buffer()
in place of the channel name, so it would never find anything.

Now that function supports a NULL channel to mean "any channel", so we can use that.  The actual code itself needed to be
fixed as well, it's now similar to the way userhost_unban() is written.
This commit is contained in:
Kevin Easton
2017-04-05 22:55:43 +10:00
parent 484fc156ed
commit eace841366
2 changed files with 26 additions and 18 deletions

View File

@@ -1,5 +1,7 @@
[Changes 1.2.2]
* Enable use of cached whowas info for /IG* and /UNIG* commands. (caf)
* Add support for OpenSSL 1.1.0 to configure script. (caf)
* /UNBAN <nick> can use cached whowas info to unset bans. (caf)