1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

Awaylog didn't work right if you did /AWAY multiple times.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@526 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-23 14:18:32 +00:00 committed by cras
parent b2a616b68f
commit f9d4b9d8c8

View File

@ -51,6 +51,9 @@ static void event_away(const char *data, IRC_SERVER_REC *server)
if (level == 0) return;
log = log_find(fname);
if (log != NULL && log->handle != -1)
return; /* already open */
if (log == NULL) {
log = log_create_rec(fname, level, NULL);
log->temp = TRUE;