mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-04 00:24:11 +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.db.close()
|
||||||
self.__parent.die()
|
self.__parent.die()
|
||||||
|
|
||||||
def typeSubstitutions(self):
|
def _typeSubstitutions(self):
|
||||||
"""Returns a dict with keys Types/Type/types/type, whose values are
|
"""Returns a dict with keys Types/Type/types/type, whose values are
|
||||||
the plugin name with matching capitalization and plural."""
|
the plugin name with matching capitalization and plural."""
|
||||||
return {
|
return {
|
||||||
@ -457,7 +457,7 @@ class ChannelIdDatabasePlugin(callbacks.Plugin):
|
|||||||
username=username,
|
username=username,
|
||||||
nick=nick,
|
nick=nick,
|
||||||
at=utils.str.timestamp(record.at),
|
at=utils.str.timestamp(record.at),
|
||||||
**self.typeSubstitutions()
|
**self._typeSubstitutions()
|
||||||
)
|
)
|
||||||
|
|
||||||
def get(self, irc, msg, args, channel, id):
|
def get(self, irc, msg, args, channel, id):
|
||||||
|
Loading…
Reference in New Issue
Block a user