diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-06-24 15:04:43 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-06-24 15:04:43 +0200 |
commit | 4d60c48f5faebf61e38c0d64709af5ed32af31cb (patch) | |
tree | af8797e5c8c1d1e958d90b986ac9438db12178f9 /src/plugins | |
parent | 89b7a826c55454e8f2fb7ad8ecbbcf914275079c (diff) | |
download | weechat-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.c | 5 |
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"); + } } /* |