summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-06-24 15:04:43 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-06-24 15:04:43 +0200
commit4d60c48f5faebf61e38c0d64709af5ed32af31cb (patch)
treeaf8797e5c8c1d1e958d90b986ac9438db12178f9 /src/plugins
parent89b7a826c55454e8f2fb7ad8ecbbcf914275079c (diff)
downloadweechat-4d60c48f5faebf61e38c0d64709af5ed32af31cb.zip
Switch to irc raw buffer if it is aleady opened, with /server raw or alt-j + alt-r
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/irc/irc-raw.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-raw.c b/src/plugins/irc/irc-raw.c
index 0aa0cbf82..b08858e23 100644
--- a/src/plugins/irc/irc-raw.c
+++ b/src/plugins/irc/irc-raw.c
@@ -102,6 +102,11 @@ irc_raw_open (int switch_to_buffer)
}
}
}
+ else
+ {
+ if (switch_to_buffer)
+ weechat_buffer_set (irc_raw_buffer, "display", "1");
+ }
}
/*