diff options
author | Tom Feist <shabble@metavore.org> | 2011-02-24 02:00:40 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2011-02-24 02:00:40 +0000 |
commit | b609b6633ccf1cf25872d3171872001ec23fea73 (patch) | |
tree | 095f31314618f23bd38325dfe4f0bc2e9e88ad71 /vim-mode/vim_mode.pl | |
parent | more work on testing system for irssi. Most of the screenscraping now works, (diff) | |
download | irssi-scripts-b609b6633ccf1cf25872d3171872001ec23fea73.tar.gz irssi-scripts-b609b6633ccf1cf25872d3171872001ec23fea73.zip |
defined check to prevent a warning in flush_input_buffer() [thanks DE1]
Diffstat (limited to '')
-rw-r--r-- | vim-mode/vim_mode.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index d850d63..7f4832e 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -2414,7 +2414,7 @@ sub handle_input_buffer { } sub flush_input_buffer { - Irssi::timeout_remove($input_buf_timer); + Irssi::timeout_remove($input_buf_timer) if defined $input_buf_timer; $input_buf_timer = undef; # see what we've collected. print "Input buffer flushed" if DEBUG; |