Skip to content
Snippets Groups Projects
Commit c17a1652 authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Silently ignore C++

Fixes #8
parent 92c632d8
No related branches found
No related tags found
1 merge request!2Silently ignore C++
Pipeline #2006 failed
...@@ -46,7 +46,7 @@ class Karma(BotPlugin): ...@@ -46,7 +46,7 @@ class Karma(BotPlugin):
if message.frm == self.bot_identifier: if message.frm == self.bot_identifier:
return return
if 'c++' in message.body.casefold(): if 'c++' in message.body.casefold():
return "**Info**: Ignoring C++" return
return self._change_karma(match.group(1), 1, message) return self._change_karma(match.group(1), 1, message)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment