Added /roster show|hide command, only show roster on connect success

This commit is contained in:
James Booth
2014-11-10 23:23:02 +00:00
parent 5d59d17642
commit 497b07c1c3
9 changed files with 77 additions and 4 deletions

View File

@@ -71,7 +71,7 @@ win_create(const char * const title, win_type_t type)
new_win->from = strdup(title);
int cols = getmaxx(stdscr);
if ((type == WIN_MUC && prefs_get_boolean(PREF_OCCUPANTS)) || (type == WIN_CONSOLE)) {
if (type == WIN_MUC && prefs_get_boolean(PREF_OCCUPANTS)) {
int main_cols = win_main_width();
new_win->win = newpad(PAD_SIZE, main_cols);
wbkgd(new_win->win, COLOUR_TEXT);