mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-25 19:54:25 +01:00
classes: spawn PyLink clients with a custom opertype
This commit is contained in:
parent
a91fa46549
commit
fbd8659a7d
@ -440,7 +440,8 @@ class Irc():
|
|||||||
olduserobj = self.pseudoclient
|
olduserobj = self.pseudoclient
|
||||||
self.pseudoclient = self.proto.spawnClient(nick, ident, host,
|
self.pseudoclient = self.proto.spawnClient(nick, ident, host,
|
||||||
modes={("+o", None)},
|
modes={("+o", None)},
|
||||||
manipulatable=True)
|
manipulatable=True,
|
||||||
|
opertype="PyLink Service")
|
||||||
for chan in self.serverdata['channels']:
|
for chan in self.serverdata['channels']:
|
||||||
self.proto.join(self.pseudoclient.uid, chan)
|
self.proto.join(self.pseudoclient.uid, chan)
|
||||||
# PyLink internal hook called when spawnMain is called and the
|
# PyLink internal hook called when spawnMain is called and the
|
||||||
|
Loading…
Reference in New Issue
Block a user