core: Request capability metadata-notify so plugins can use it if they want.

This commit is contained in:
Valentin Lorentz 2015-05-15 19:35:51 +02:00
parent 59d542bb70
commit 259457ae2f

View File

@ -966,7 +966,8 @@ class Irc(IrcCommandDispatcher):
elif self.sasl_username and self.sasl_password: elif self.sasl_username and self.sasl_password:
self.sasl = 'plain' self.sasl = 'plain'
for cap in ('account-notify', 'extended-join', 'multi-prefix'): for cap in ('account-notify', 'extended-join', 'multi-prefix',
'metadata-notify'):
self.queueMsg(ircmsgs.IrcMsg(command='CAP', args=('REQ', cap))) self.queueMsg(ircmsgs.IrcMsg(command='CAP', args=('REQ', cap)))
if self.sasl: if self.sasl: