'_cap(' -> '_ack('
This commit is contained in:
parent
7cccb482b7
commit
af4edf389f
1 changed files with 1 additions and 1 deletions
|
@ -9,6 +9,6 @@ class Module(ModuleManager.BaseModule):
|
||||||
cap.on_ack(lambda: self._ack(event["server"]))
|
cap.on_ack(lambda: self._ack(event["server"]))
|
||||||
return cap
|
return cap
|
||||||
|
|
||||||
def _cap(self, server):
|
def _ack(self, server):
|
||||||
url = self.bot.get_setting("bot-url", IRCBot.SOURCE)
|
url = self.bot.get_setting("bot-url", IRCBot.SOURCE)
|
||||||
server.send_raw("METADATA * SET bot-url :%s" % url)
|
server.send_raw("METADATA * SET bot-url :%s" % url)
|
||||||
|
|
Loading…
Reference in a new issue