]> jfr.im git - irc/weechat/qweechat.git/blobdiff - src/qweechat/config.py
Add option relay.lines to limit the number of lines received on connection (default...
[irc/weechat/qweechat.git] / src / qweechat / config.py
index 749597a9e9f063ed484950a917d537d34f569dcc..6c01cc938153d9219c345890d14fba71f95ba9c1 100644 (file)
@@ -27,12 +27,15 @@ import weechat.color as color
 CONFIG_DIR = '%s/.qweechat' % os.getenv('HOME')
 CONFIG_FILENAME = '%s/qweechat.conf' % CONFIG_DIR
 
+CONFIG_DEFAULT_RELAY_LINES = 50
+
 CONFIG_DEFAULT_SECTIONS = ('relay', 'look', 'color')
 CONFIG_DEFAULT_OPTIONS = (('relay.server', ''),
                           ('relay.port', ''),
                           ('relay.ssl', 'off'),
                           ('relay.password', ''),
                           ('relay.autoconnect', 'off'),
+                          ('relay.lines', str(CONFIG_DEFAULT_RELAY_LINES)),
                           ('look.debug', 'off'),
                           ('look.statusbar', 'off'))