Commits

Josh VanderLinden  committed 962c659

Stripping nicks

  • Participants
  • Parent commits 87e4276

Comments (0)

Files changed (2)

 # Maintainer: Josh VanderLinden <arch@cloudlery.com>
 pkgname=zedify
 pkgver=20130522
-pkgrel=3
+pkgrel=4
 pkgdesc="Deliver message notifications to remote machines"
 arch=('any')
 url="http://bitbucket.org/codekoala/zedify"

File zedify/weechat.py

         chat = buffer_name(buf)
         server = get(buf, 'localvar_server').strip()
         channel = get(buf, 'localvar_channel').strip()
-        my_nick = weechat.info_get('irc_nick', server).strip()
-        prefix = prefix.strip()
+        my_nick = weechat.info_get('irc_nick', server).strip(' @')
+        prefix = prefix.strip(' @')
         tags = {t.strip() for t in tags.split(',') if t}
 
         send = False