registry: Fix comment about high-cardinality values.

This commit is contained in:
Valentin Lorentz 2020-05-16 00:35:16 +02:00
parent 2eb32de26e
commit 1b4205f1ac

View File

@ -404,10 +404,10 @@ class Value(Group):
# It may seem weird to check channel/network validity here, # It may seem weird to check channel/network validity here,
# but we need to prevent plugins from passing garbage values. # but we need to prevent plugins from passing garbage values.
# #
# For example, LinkRelay has an inFilter() function that calls # For example, LinkRelay has an inFilter() function that called
# self.registryValue('...', msg.args[0]) no matter the command. This # self.registryValue('...', msg.args[0]) no matter the command. This
# means that, every time it receives a 'PING :<timestamp>' from a # means that, every time the bot sends a 'PING :<timestamp>' from to
# network (eg. OFTC), it calls # network, LinkRelayed called
# self.registryValue('...', '<timestamp>'), which calls this # self.registryValue('...', '<timestamp>'), which calls this
# function. # function.
# #