Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
chg: features splitter
Browse files Browse the repository at this point in the history
  • Loading branch information
disabler committed Oct 13, 2012
1 parent b10f5d7 commit a96cdb7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/disco.py
Expand Up @@ -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 = ''
Expand Down

0 comments on commit a96cdb7

Please sign in to comment.