--- a/mcabber/src/histolog.c Tue Aug 21 22:45:53 2007 +0200
+++ b/mcabber/src/histolog.c Wed Aug 22 22:19:33 2007 +0200
@@ -193,8 +193,10 @@
// If file is large (> 3MB here), display a message to inform the user
// (it can take a while...)
if (!fstat(fileno(fp), &bufstat)) {
- if (bufstat.st_size > 3145728)
- scr_LogPrint(LPRINT_LOGNORM, "Reading <%s> history file...", bjid);
+ if (bufstat.st_size > 3145728) {
+ scr_LogPrint(LPRINT_NORMAL, "Reading <%s> history file...", bjid);
+ scr_DoUpdate();
+ }
}
max_num_of_blocks = get_max_history_blocks();