Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/isida/3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiSabler <dissy@ya.ru>2013-12-05 15:27:01 +0400
committerdiSabler <dissy@ya.ru>2013-12-05 15:27:01 +0400
commit9de332933776f6057044bae028cfd374ff119954 (patch)
tree8deb0a25a0d740455830735bc1a35e7cb90cc48a
parent18a01eeda9ff63bb65bdb5568182c5888b74183f (diff)
fix: net* commands
-rw-r--r--plugins/net.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/net.py b/plugins/net.py
index b3eeaba..f1824c8 100644
--- a/plugins/net.py
+++ b/plugins/net.py
@@ -80,7 +80,7 @@ def srv_host(type, jid, nick, text):
def srv_raw_check(type, jid, nick, text):
text = enidna_raw(text)
- text = ''.join(re.findall(u'[-a-z0-9._?#=@% ]+',text,re.S+re.I)[0])
+ text = ''.join(re.findall(u'[-a-z0-9\.\_\?\#\=\@\%\ \+]+',text,re.S+re.I)[0])
send_msg(type, jid, nick, deidna(shell_execute(text,'%s/%s'%(jid,nick))))
def chkserver(type, jid, nick, text):