From 2ce849968f705cd0e3277d256e8b1d57df73c485 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 16 Dec 2012 14:58:44 +0100 Subject: [PATCH] fix a traceback on /unload iq_show (also, per-tab option load_logs) --- doc/en/configure.txt | 6 ++++++ plugins/iq_show.py | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/en/configure.txt b/doc/en/configure.txt index 2bc66573..53b4cdb8 100644 --- a/doc/en/configure.txt +++ b/doc/en/configure.txt @@ -525,6 +525,12 @@ foo = true Ignore private messages sent from this room. +*load_log*:: 10 + + The number of line to preload in a chat buffer when it opens. The lines are + loaded from the log files. 0 or a negative value here disable that option. + No value makes poezio fall back to the global value. + *private_auto_response*:: "Not in private, please." The message you want to be sent when someone tries to message you. diff --git a/plugins/iq_show.py b/plugins/iq_show.py index bfb2105a..77d50d6c 100644 --- a/plugins/iq_show.py +++ b/plugins/iq_show.py @@ -11,4 +11,3 @@ class Plugin(BasePlugin): def cleanup(self): self.core.xmpp.remove_handler('Iq_show') - del self.handle_iq