Automatically create networks and buffers specified in networks.ini
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 13 Jan 2009 22:41:09 +0000 (23:41 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 13 Jan 2009 22:59:25 +0000 (23:59 +0100)
commit1b113021e8d82f93f46e02cf66428aebfb7d0357
tree5db219a6a55305a3711645df016a7c2875ce0058
parent6c19be8efa70b6fb76d2c43aa96ab5c908e039e3
Automatically create networks and buffers specified in networks.ini

In order for a network and certain channels to be added automatically in a blank core
configuration, add the following to a [NetworkName] block in networks.ini:

Default=Yes
DefaultChannels=#channel1,#channel2,#channel3

We'll create the network(s), and on first connect, the given channels will be joined automatically.
src/client/client.cpp
src/client/client.h
src/core/coresession.cpp
src/core/coresession.h