Skip to content
Browse files

Update SwearJarPlugin.php

I think I made it case insensitive!
  • Loading branch information...
1 parent 5a2a23f commit ffe93325e99f5b9042ef45d9d4e9c9190a1433b2 @michaelcpuckett michaelcpuckett committed Sep 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 SwearJarPlugin.php
View
2 SwearJarPlugin.php
@@ -32,7 +32,7 @@ public function init()
$swear_jar = array();
// Don't say bad words, kids.
- $re = '/' . implode('|', $swears) . '/';
+ $re = '/' . implode('|', $swears) . '/i';
$this->bot->onChannel($re, function($request, $matches) use (&$swear_jar) {
$cost = 0.25;
$who = $request->getSendingUser();

0 comments on commit ffe9332

Please sign in to comment.
Something went wrong with that request. Please try again.