summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-05-29 22:32:45 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-05-29 22:32:45 +0100
commit013e8d87e979b121b1589ca9609e9b721e8f3a81 (patch)
tree3d443f3e239fa7c23b97337897d741749b54395f /config.c
parented24151c06ebf40ab120b01d8f8ae06a7b6cc0cb (diff)
Implement an optional connect command, providing an example configuration of a NickServ IDENTIFY command.
Diffstat (limited to 'config.c')
-rw-r--r--config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.c b/config.c
index 480d567..b615fa2 100644
--- a/config.c
+++ b/config.c
@@ -204,6 +204,9 @@ int createconfigfile(char *filename) {
"# Real IRC server password\n"
"#ircserverpassword = \"apples\"\n"
"\n"
+ "# Command to send to the server upon completing registration (e.g. a NickServ password)\n"
+ "#connectcommand \"PRIVMSG NickServ IDENTIFY bananas\"\n"
+ "\n"
"# Base directory (defaults to $HOME/.blabouncer/)\n"
"# Things such as the logs directory will be placed below this\n"
"#basedir = \"/home/foo/.blabouncer/\"\n"