3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-22 20:09:43 +01:00
pbot/lib/PBot
Pragmatic Software 153d771960 BanList: do not update existing bans with server bans
For some reason, various IRC networks do not propagate banlist metadata
such as owner and timestamp when a server rejoins. This causes the
server's banlist entries to contain "set by server" instead of the
original individual who set it and "set on now" instead of when it was
originally set.

This commit modifies PBot's banlist monitoring to only update PBot's
internal banlist metadata when the ban doesn't exist or when the ban is
being updated by an actual individual instead of the server. Now PBot
will remember the original setter and the original timestamp
regardless of whether the IRC server can.
2021-09-12 18:59:36 -07:00
..
Core BanList: do not update existing bans with server bans 2021-09-12 18:59:36 -07:00
Plugin Plugin/Spinach: fix path to Storage::HashObject 2021-09-12 11:11:44 -07:00
Core.pm Refactor and simplify atexit routines 2021-08-06 12:59:21 -07:00
Imports.pm Make directory structure more Perlish 2021-07-13 19:45:56 -07:00
VERSION.pm BanList: do not update existing bans with server bans 2021-09-12 18:59:36 -07:00