Fix error (blame @nyuszika7h)

This commit is contained in:
Vgr E.Barry 2015-07-27 09:26:40 -04:00
parent 32ab792e2f
commit 120a2f3717

View File

@ -273,7 +273,7 @@ class IRCClient(object):
def kick(self, chan, nick, msg=""): def kick(self, chan, nick, msg=""):
self.send("KICK", chan, nick, ":"+msg) self.send("KICK", chan, nick, ":"+msg)
def ns_identify(self, account, passwd, nickserv, command): def ns_identify(self, account, passwd, nickserv, command):
self.msg(nickserv, command.format(account=self.account, password=passwd)) self.msg(nickserv, command.format(account=account, password=passwd))
def ns_ghost(self, nickserv, command): def ns_ghost(self, nickserv, command):
if command: if command:
self.msg(nickserv, command.format(nick=self.nickname)) self.msg(nickserv, command.format(nick=self.nickname))