Called wrong function in Admin.part

This commit is contained in:
mrhanky 2017-08-22 18:04:02 +02:00
parent e9f10db2c5
commit ac7b333ccf
No known key found for this signature in database
GPG Key ID: 67D772C481CB41B8

View File

@ -87,7 +87,7 @@ class Admin(Plugin):
"""
channel = args.get('<channel>', target)
self.bot.join(channel)
self.bot.part(channel)
self.bot.notice(mask.nick, 'Parted channel {}'.format(channel))
conf = self.bot.load_config()