mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05: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:
parent
b2a616b68f
commit
f9d4b9d8c8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user