diff --git a/ChangeLog b/ChangeLog index 271e0cfb..9dbf58b0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -41,6 +41,7 @@ v0.71.2 16-Jan-2005 the chat input and one general input function. This may have effects for all users not using us-ascii keyboards. Added more support for Chinese using the traduce function. + Changed color for chat lines with one * at the begin. mbfido: Empty *.msg netmails for our own system are dropped with and @@ -66,6 +67,9 @@ v0.71.2 16-Jan-2005 code we will build inter-bbs chat. Currently this only works to connect/disconnect servers to build the network. + mbmon: + Changed color for chat lines with one * at the begin. + mbsetup: Added language defaults for Chinese. Removed obsolete bbslist editor. diff --git a/mbmon/mbmon.c b/mbmon/mbmon.c index ccd28aac..3bd90773 100644 --- a/mbmon/mbmon.c +++ b/mbmon/mbmon.c @@ -486,9 +486,12 @@ void Showline(int y, int x, char *msg) putchar(msg[i]); } } - } else if (msg[0] == '*') { + } else if ((msg[0] == '*') && (msg[1] == '*')) { mbse_colour(LIGHTRED, BLACK); mbse_mvprintw(y, x, msg); + } else if (msg[0] == '*') { + mbse_colour(LIGHTMAGENTA, BLACK); + mbse_mvprintw(y, x, msg); } else { mbse_colour(GREEN, BLACK); mbse_mvprintw(y, x, msg); diff --git a/mbsebbs/chat.c b/mbsebbs/chat.c index ca528f4e..4a9a52a2 100644 --- a/mbsebbs/chat.c +++ b/mbsebbs/chat.c @@ -101,9 +101,12 @@ void Showline(int y, int x, char *msg) PUTCHAR(msg[i]); } } - } else if (msg[0] == '*') { + } else if ((msg[0] == '*') && (msg[0] == '*')) { colour(LIGHTRED, BLACK); mvprintw(y, x, msg); + } else if (msg[0] == '*') { + colour(LIGHTMAGENTA, BLACK); + mvprintw(y, x, msg); } else { colour(GREEN, BLACK); mvprintw(y, x, msg); diff --git a/mbtask/taskibc.c b/mbtask/taskibc.c index 53edc295..e1d2837f 100644 --- a/mbtask/taskibc.c +++ b/mbtask/taskibc.c @@ -163,11 +163,15 @@ void dump_ncslist(void) } if (usrchg) { - Syslog('+', "IBC: Server User Name/Nick Channel Cop Connect time"); - Syslog('+', "IBC: -------------------- -------------------- --------- ------------- --- --------------------"); - for (usrp = users; usrp; usrp = usrp->next) { - Syslog('+', "IBC: %-20s %-20s %-9s %-13s %s %s", usrp->server, usrp->realname, usrp->nick, usrp->channel, - usrp->chanop ? "yes":"no ", rfcdate(usrp->connected)); + if (users) { + Syslog('+', "IBC: Server User Name/Nick Channel Cop Connect time"); + Syslog('+', "IBC: -------------------- -------------------- --------- ------------- --- --------------------"); + for (usrp = users; usrp; usrp = usrp->next) { + Syslog('+', "IBC: %-20s %-20s %-9s %-13s %s %s", usrp->server, usrp->realname, usrp->nick, usrp->channel, + usrp->chanop ? "yes":"no ", rfcdate(usrp->connected)); + } + } else { + Syslog('+', "IBC: Users list is empty"); } }