Removes unused file.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Applies some refactoring and cleanup to app.go

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Finetunes the config whitelist behaviour. Searches for
specific whitelisted hostmasks should now be faster.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Finetunes the config channel list. Gives it faster
search abilities. Consequently also cleaning up the
code in the main config code.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Revises README with more information about layout and
usage of module configurations. Also expands on the
changes to the module API which are upcoming.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Adds `CreateDefault` function to configuration package.
This simple resets the config values and saves them to
disk, if no file already exists.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Revises the API for all modules. Specifically the
location of the protocol/command binding code. It
is moved from `init()` to `Module.Load()`.

Adds the `CreateDefaultConfig() error` function to
the module interface. This is called when ircb
is invoked with the `-conf` flag and is meant to
create the module's default, initial configuration
file. After which the bot exists, so this file can
be manually edited.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Fixes the main ircb code to accept a new command line
flag: `-conf`

This flag is intended to create new, default configuration
files for the bot profile and all loaded modules. After which
the bot exits, so these files may be edited. The bot can be
invoked with this flag as many times as is needed to create
new configurations. It will not overwrite existing config
files. This makes it useful when the bot is recompiled with
a new module, which doesn't have its own config yet.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Adds some code comments to module package and further
finetunes the documentation in the README file.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Bumps the minor version number.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>