diff options
author | mrDoctorWho <mrdoctorwho@gmail.com> | 2015-02-13 13:00:38 +0300 |
---|---|---|
committer | mrDoctorWho <mrdoctorwho@gmail.com> | 2015-02-13 13:00:38 +0300 |
commit | e62103a66fc2d4987e531c83bcb60ce3d8135f3c (patch) | |
tree | 8fe1974034be06f926726be585dd1615c48c1ae7 /modules/mod_iq_disco.py | |
parent | f692388d35bb6030bfd9f4853416e9197db71935 (diff) |
Fixed groupchat re-creation
Diffstat (limited to 'modules/mod_iq_disco.py')
-rw-r--r-- | modules/mod_iq_disco.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/modules/mod_iq_disco.py b/modules/mod_iq_disco.py index 123b34d..2d7c6ee 100644 --- a/modules/mod_iq_disco.py +++ b/modules/mod_iq_disco.py @@ -1,11 +1,17 @@ # coding: utf-8 # This file is a part of VK4XMPP transport -# © simpleApps, 2014. +# © simpleApps, 2014 — 2015. from __main__ import * +NODES = {"admin": ("Delete users", + "Global message", + "Show crashlogs", + "Reload config", + "Global Transport settings", + "Check an API token"), + "user": ("Edit settings",)} -NODES = {"admin": ("Delete users", "Global message", "Show crashlogs", "Reload config", "Global Transport settings"), "user": ("Edit settings",)} def disco_handler(cl, iq): source = iq.getFrom().getStripped() @@ -145,6 +151,9 @@ def commands_handler(cl, iq): ) commandTag.addChild(node=form) completed = True + + elif node == "Check an API token": + pass elif node == "Reload config": try: |