3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-10 12:59:23 +01:00

classes: spawn PyLink clients with a custom opertype

This commit is contained in:
James Lu 2016-03-26 12:49:10 -07:00
parent a91fa46549
commit fbd8659a7d

View File

@ -440,7 +440,8 @@ class Irc():
olduserobj = self.pseudoclient
self.pseudoclient = self.proto.spawnClient(nick, ident, host,
modes={("+o", None)},
manipulatable=True)
manipulatable=True,
opertype="PyLink Service")
for chan in self.serverdata['channels']:
self.proto.join(self.pseudoclient.uid, chan)
# PyLink internal hook called when spawnMain is called and the