summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-12-16 14:58:44 +0100
committermathieui <mathieui@mathieui.net>2012-12-16 14:58:44 +0100
commit2ce849968f705cd0e3277d256e8b1d57df73c485 (patch)
tree200ac1ba1faacbe018cd03f15cf0af1e89df5e17
parentcb900858a034059b6264d6911362f9cf1e3ca9e5 (diff)
downloadpoezio-2ce849968f705cd0e3277d256e8b1d57df73c485.tar.gz
poezio-2ce849968f705cd0e3277d256e8b1d57df73c485.tar.bz2
poezio-2ce849968f705cd0e3277d256e8b1d57df73c485.tar.xz
poezio-2ce849968f705cd0e3277d256e8b1d57df73c485.zip
fix a traceback on /unload iq_show
(also, per-tab option load_logs)
-rw-r--r--doc/en/configure.txt6
-rw-r--r--plugins/iq_show.py1
2 files changed, 6 insertions, 1 deletions
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