Skip to content

Commit

Permalink
[meetbot] Fix comment case sensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
embolalia committed Feb 23, 2014
1 parent 022d25c commit 68e8f64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion meetbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from willie.web import quote
from willie.modules.url import find_title
from willie.module import example, commands, rule, priority
from willie.tools import Ddict
from willie.tools import Ddict, Nick
import codecs


Expand Down Expand Up @@ -373,6 +373,7 @@ def take_comment(bot, trigger):
https://github.com/embolalia/willie/wiki/Using-the-meetbot-module
"""
target, message = trigger.group(2).split(None, 1)
target = Nick(target)
if trigger.sender[0] in '#&+!':
return
if not ismeetingrunning(target):
Expand Down

0 comments on commit 68e8f64

Please sign in to comment.