mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-03 16:14:10 +01:00
plugins: Fix name mismatch of typeSubstitution in getCommandHelp.
Bug introduced in 4046a1b201
.
This commit is contained in:
parent
8b9ac3540d
commit
847e51a7ec
@ -325,7 +325,7 @@ class ChannelIdDatabasePlugin(callbacks.Plugin):
|
||||
self.db.close()
|
||||
self.__parent.die()
|
||||
|
||||
def typeSubstitutions(self):
|
||||
def _typeSubstitutions(self):
|
||||
"""Returns a dict with keys Types/Type/types/type, whose values are
|
||||
the plugin name with matching capitalization and plural."""
|
||||
return {
|
||||
@ -457,7 +457,7 @@ class ChannelIdDatabasePlugin(callbacks.Plugin):
|
||||
username=username,
|
||||
nick=nick,
|
||||
at=utils.str.timestamp(record.at),
|
||||
**self.typeSubstitutions()
|
||||
**self._typeSubstitutions()
|
||||
)
|
||||
|
||||
def get(self, irc, msg, args, channel, id):
|
||||
|
Loading…
Reference in New Issue
Block a user