Permalink
Browse files

chg: features splitter

  • Loading branch information...
disabler committed Oct 13, 2012
1 parent b10f5d7 commit a96cdb72948d5af37ffa1e37ab81f73e50539769
Showing with 1 addition and 2 deletions.
  1. +1 −2 plugins/disco.py
@@ -736,8 +736,7 @@ def features(type, jid, nick, text):
text = text.strip()
if text == '': where,what = '%s/%s' % (getRoom(jid),nick),''
else:
if '\n' in text: text = text.split('\n')
else: text = text.split(' ')
text = text.split('\n')
where = text[0]
try: what = text[1]
except: what = ''

0 comments on commit a96cdb7

Please sign in to comment.