def doChghost(self, irc, msg):
        (user, host) = msg.args
        nick = msg.nick
        hostmask = (nick, user, host) % '%s!%s@%s'
        self.nicksToHostmasks[nick] = hostmask
dataset/ETHPy150Open ProgVal/Limnoria/src/irclib.py/IrcState.doChghost/swapped operands of `%`