fix a traceback on /unload iq_show

(also, per-tab option load_logs)
This commit is contained in:
mathieui 2012-12-16 14:58:44 +01:00
parent cb900858a0
commit 2ce849968f
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -11,4 +11,3 @@ class Plugin(BasePlugin):
def cleanup(self):
self.core.xmpp.remove_handler('Iq_show')
del self.handle_iq