]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Remove Phergie diff file
authorLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Fri, 23 Jul 2010 20:34:39 +0000 (13:34 -0700)
committerLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Fri, 23 Jul 2010 20:34:39 +0000 (13:34 -0700)
plugins/Irc/extlib/phergie/Phergie/Plugin/patch.diff [deleted file]

diff --git a/plugins/Irc/extlib/phergie/Phergie/Plugin/patch.diff b/plugins/Irc/extlib/phergie/Phergie/Plugin/patch.diff
deleted file mode 100644 (file)
index 9cfa3c2..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/plugins/Irc/extlib/phergie/Phergie/Plugin/NickServ.php b/plugins/Irc/extlib/phergie/Phergie/Plugin/NickServ.php
-index ff181d9..f873c75 100644
---- a/plugins/Irc/extlib/phergie/Phergie/Plugin/NickServ.php
-+++ b/plugins/Irc/extlib/phergie/Phergie/Plugin/NickServ.php
-@@ -65,7 +65,7 @@ class Phergie_Plugin_NickServ extends Phergie_Plugin_Abstract
-         // Get the identify message\r
-         $this->identifyMessage = $this->config['nickserv.identify_message'];\r
-         if (!$this->identifyMessage) {\r
--            $this->identifyMessage = 'This nickname is registered.';\r
-+            $this->identifyMessage = '/This nickname is registered./';\r
-         }\r
-     }\r
\r
-@@ -82,7 +82,7 @@ class Phergie_Plugin_NickServ extends Phergie_Plugin_Abstract
-         if (strtolower($event->getNick()) == strtolower($this->botNick)) {\r
-             $message = $event->getArgument(1);\r
-             $nick = $this->connection->getNick();\r
--            if (strpos($message, $this->identifyMessage) !== false) {\r
-+            if (preg_match($this->identifyMessage, $message)) {\r
-                 $password = $this->config['nickserv.password'];\r
-                 if (!empty($password)) {\r
-                     $this->doPrivmsg($this->botNick, 'IDENTIFY ' . $password);\r