UNBAN <nick> can use cached whowas info to unset bans
The use of the whowas cache in userhost_unban() would never work, because it was passing 'args' as the channel name which also included the window number. Rework this substantially, including using lookup_channel() and set_display_target() in place of prepare_command().
This commit is contained in:
Reference in New Issue
Block a user