'_cap(' -> '_ack('

This commit is contained in:
jesopo 2019-05-15 11:11:12 +01:00
parent 7cccb482b7
commit af4edf389f

View file

@ -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)