3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-23 11:12:42 +01:00
pbot/lib/PBot/Core
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
..
Commands Factoids: look-up use_output_queue/preserve_whitespace properly 2021-09-10 11:03:20 -07:00
Factoids Factoids: look-up use_output_queue/preserve_whitespace properly 2021-09-10 11:03:20 -07:00
Handlers BanList: do not update existing bans with server bans 2021-09-12 18:59:36 -07:00
IRC Move core packages into PBot/Core 2021-07-20 22:44:51 -07:00
MessageHistory MessageHistory: recall can use -a and -b together again 2021-09-08 14:05:35 -07:00
Storage Replace Text::Levenshtein with Text::Levenshtein::XS 2021-08-27 19:41:51 -07:00
Utils Move Storage and Utils into Core 2021-07-23 19:22:25 -07:00
AntiFlood.pm Move some handlers to relevant Handlers modules 2021-08-01 15:53:58 -07:00
AntiSpam.pm Move Storage and Utils into Core 2021-07-23 19:22:25 -07:00
BanList.pm Move some handlers to relevant Handlers modules 2021-08-01 15:53:58 -07:00
BlackList.pm Finish moving commands from Core to Commands 2021-07-23 16:41:32 -07:00
Capabilities.pm Move Storage and Utils into Core 2021-07-23 19:22:25 -07:00
Channels.pm Move some handlers to relevant Handlers modules 2021-08-01 15:53:58 -07:00
ChanOps.pm Move some handlers to relevant Handlers modules 2021-08-01 15:53:58 -07:00
Class.pm Minor clean-up and polish 2021-07-27 12:01:42 -07:00
Commands.pm Core/Commands: remove(): fix arguments passed to unregister() 2021-08-06 11:14:40 -07:00
EventDispatcher.pm Move Storage and Utils into Core 2021-07-23 19:22:25 -07:00
EventQueue.pm Move Storage and Utils into Core 2021-07-23 19:22:25 -07:00
Factoids.pm Refactor PBot::Core::Factoids into PBot::Core::Factoids::* 2021-07-26 21:39:44 -07:00
Functions.pm Finish moving commands from Core to Commands 2021-07-23 16:41:32 -07:00
Handlers.pm Support named-parameters in command registration 2021-07-30 19:01:24 -07:00
IgnoreList.pm Move Storage and Utils into Core 2021-07-23 19:22:25 -07:00
Interpreter.pm Factoids: look-up use_output_queue/preserve_whitespace properly 2021-09-10 11:03:20 -07:00
IRC.pm Move core packages into PBot/Core 2021-07-20 22:44:51 -07:00
IRCHandlers.pm Rename IRCHandlers to Handlers 2021-07-23 16:57:33 -07:00
LagChecker.pm Progress on moving commands from Core to Commands 2021-07-23 07:24:30 -07:00
Logger.pm Refactor and simplify atexit routines 2021-08-06 12:59:21 -07:00
MessageHistory.pm Refactor and simplify atexit routines 2021-08-06 12:59:21 -07:00
Modules.pm Fix minor issue with command piping; misc clean-ups 2021-09-04 20:53:02 -07:00
NickList.pm Replace Text::Levenshtein with Text::Levenshtein::XS 2021-08-27 19:57:18 -07:00
Plugins.pm Move some handlers to relevant Handlers modules 2021-08-01 15:53:58 -07:00
ProcessManager.pm Whoops, execute_process() cannot return undef 2021-09-07 10:18:12 -07:00
Refresher.pm Progress on moving commands from Core to Commands 2021-07-23 07:24:30 -07:00
Registerable.pm Refactor and simplify atexit routines 2021-08-06 12:59:21 -07:00
Registry.pm Improve output of truncation text 2021-08-12 22:30:56 -07:00
SelectHandler.pm Move core packages into PBot/Core 2021-07-20 22:44:51 -07:00
StdinReader.pm Move core packages into PBot/Core 2021-07-20 22:44:51 -07:00
Updater.pm Move core packages into PBot/Core 2021-07-20 22:44:51 -07:00
Users.pm Move Storage and Utils into Core 2021-07-23 19:22:25 -07:00
WebPaste.pm WebPaste: insignificant rename filename field 2021-07-25 08:24:42 -07:00