diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/cfgfiles.c | 4 | ||||
-rw-r--r-- | src/common/xchat.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index 522ab2ef..e9dc8780 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -449,6 +449,8 @@ const struct prefs vars[] = { {"gui_auto_open_dialog", P_OFFINT (autodialog), TYPE_BOOL}, {"gui_auto_open_recv", P_OFFINT (autoopendccrecvwindow), TYPE_BOOL}, {"gui_auto_open_send", P_OFFINT (autoopendccsendwindow), TYPE_BOOL}, + {"gui_chanlist_maxusers", P_OFFINT (gui_chanlist_maxusers), TYPE_INT}, + {"gui_chanlist_minusers", P_OFFINT (gui_chanlist_minusers), TYPE_INT}, {"gui_dialog_height", P_OFFINT (dialog_height), TYPE_INT}, {"gui_dialog_left", P_OFFINT (dialog_left), TYPE_INT}, {"gui_dialog_top", P_OFFINT (dialog_top), TYPE_INT}, @@ -731,6 +733,8 @@ load_config (void) prefs.autoopendccsendwindow = 1; prefs.autoopendccchatwindow = 1; prefs.userhost = 1; + prefs.gui_chanlist_maxusers = 9999; + prefs.gui_chanlist_minusers = 5; prefs.gui_url_mod = 4; /* ctrl */ prefs.gui_tray = 1; prefs.gui_pane_left_size = 100; diff --git a/src/common/xchat.h b/src/common/xchat.h index 2349e23b..66f43522 100644 --- a/src/common/xchat.h +++ b/src/common/xchat.h @@ -161,6 +161,8 @@ struct xchatprefs int gui_pane_right_size; int gui_pane_right_size_min; + int gui_chanlist_maxusers; + int gui_chanlist_minusers; int gui_ulist_pos; int tab_pos; |