summaryrefslogtreecommitdiff
path: root/src/common/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/session.c')
-rw-r--r--src/common/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/session.c b/src/common/session.c
index 3b4829b2e..3f24dc58a 100644
--- a/src/common/session.c
+++ b/src/common/session.c
@@ -1403,7 +1403,7 @@ session_load_buffer (FILE *file)
if (channel_name)
{
- ptr_channel = channel_search_any (ptr_server, channel_name);
+ ptr_channel = channel_search_any_without_buffer (ptr_server, channel_name);
if (!ptr_channel)
{
session_crash (file, _("channel not found for buffer"));