Open kfatehi opened 11 years ago
keyvan, in 1.0, you don't need a separate user per network, I got multiple networks inside my 'KindOne' user
Ok cool so in ZNC 1.0 we can just create 1 user, and then manage their networks (And then the servers beneath that). Changing networks is a matter of telling *status to JumpNetwork to the one you want
03:34 keyvan: KindOne: Ive got ZNC setup locally now (homebrew on mac compiles/installs 1.0) with my user having 2 networks (freenode and efnet) 03:34 keyvan: i did a /join #znc and it joined it on the efnet network -- ther's also a #znc on freenode 03:34 keyvan: i dont understand how the multi networks thing works exactly 03:35 KindOne: create another connection to znc 03:35 keyvan: maybe i should still scope it like the old style for the purposes of my app, but what's the right way to use this functionality? 03:36 keyvan: ah they would need to use JumpNetwork 03:36 keyvan: hey that's not bad actually...
03:37 keyvan: yeah ok this is good -- thank u 03:37 KindOne: I don't like jumpnetwork 03:38 keyvan: do you think i should just do it the old scoped style? 03:40 keyvan: the jumpnetwork style doesnt let me update the UI when an event happens in #znc on a network that isnt your current network without deep integration with ZNC.. but in the scoped-user style i could just maintain multiple connections 03:40 keyvan: im thinking to just do it that way 03:42 KindOne: personally, id rather have 'KindOne' and all my netowrks inside of it, instead of a 'KindOne-freenode' / KindOne-EFNet' / ect..
agree with KindOne
21:19 *status: Network added. Use /znc JumpNetwork synirc, or connect to ZNC with username keyvan/synirc (instead of just keyvan) to connect to it.
The way ZNC works is that if you want to a ZNC user to connect to multiple networks, the best way to separate them is to create a new user, scoped for that network.
E.g.
Rather than adding the user 'keyvan' and connecting him to irc.efnet.org and irc.freenode.net, it is better to create 2 users:
'keyvan-efnet' and 'keyvan-freenode'.
As such, when we create a user in IRCFog, we do NOT automatically create a ZNC user.
It is only when the User creates his first network that a ZNC user is created for him, scoped by his #znc_username