diff options
Diffstat (limited to 'src/plugins/relay/relay-raw.c')
-rw-r--r-- | src/plugins/relay/relay-raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/relay/relay-raw.c b/src/plugins/relay/relay-raw.c index eda322ffa..9efd72bec 100644 --- a/src/plugins/relay/relay-raw.c +++ b/src/plugins/relay/relay-raw.c @@ -205,7 +205,7 @@ relay_raw_message_add_to_list (time_t date, const char *prefix, /* add message to list */ new_raw_message->prev_message = last_relay_raw_message; new_raw_message->next_message = NULL; - if (relay_raw_messages) + if (last_relay_raw_message) last_relay_raw_message->next_message = new_raw_message; else relay_raw_messages = new_raw_message; |