Copypaste fail in src/IRCChannel, 'get_channel_id' -> '_get_id'
This commit is contained in:
parent
32dccc65e0
commit
e133401ed9
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ class Channels(object):
|
||||||
return name[0] in self._server.channel_types and lower in self._channels
|
return name[0] in self._server.channel_types and lower in self._channels
|
||||||
|
|
||||||
def add(self, name: str) -> Channel:
|
def add(self, name: str) -> Channel:
|
||||||
id = self.get_channel_id(name)
|
id = self._get_id(name)
|
||||||
lower = self._name_lower(name)
|
lower = self._name_lower(name)
|
||||||
new_channel = Channel(lower, id, self._server, self._bot)
|
new_channel = Channel(lower, id, self._server, self._bot)
|
||||||
self._channels[lower] = new_channel
|
self._channels[lower] = new_channel
|
||||||
|
|
Loading…
Reference in a new issue