Copypaste fail in src/IRCChannel.py, 'self.bot' -> 'self._bot'
This commit is contained in:
parent
e133401ed9
commit
f6a997e3b9
1 changed files with 2 additions and 2 deletions
|
@ -170,8 +170,8 @@ class Channels(object):
|
||||||
return self.contains(name)
|
return self.contains(name)
|
||||||
|
|
||||||
def _get_id(self, channel_name: str) -> int:
|
def _get_id(self, channel_name: str) -> int:
|
||||||
self.bot.database.channels.add(self.id, channel_name)
|
self._bot.database.channels.add(self.id, channel_name)
|
||||||
return self.bot.database.channels.get_id(self.id, channel_name)
|
return self._bot.database.channels.get_id(self.id, channel_name)
|
||||||
|
|
||||||
def _name_lower(self, channel_name: str) -> str:
|
def _name_lower(self, channel_name: str) -> str:
|
||||||
return utils.irc.lower(self._server.case_mapping, channel_name)
|
return utils.irc.lower(self._server.case_mapping, channel_name)
|
||||||
|
|
Loading…
Reference in a new issue