Skip to content

Commit 1bfce97

Browse files
committed
Small amendments to pull request 218
1 parent 7a4e0d8 commit 1bfce97

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Phergie/Plugin/Remind.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,10 @@ protected function handleRemind($recipient, $message)
165165
$source = $this->getEvent()->getSource();
166166
$nick = $this->getEvent()->getNick();
167167

168-
// The bot shouldn't be the recipient
169-
// Fix for issue #211
170168
$myself = $this->getConnection()->getNick();
171169
if ($myself == $recipient) {
172-
$this->doPrivmsg($source, '<meme>You are doing it wrong</meme>');
173-
return;
170+
$this->doPrivmsg($source, 'You can\'t send reminders to me.');
171+
return;
174172
}
175173

176174
if (!$this->getEvent()->isInChannel()) {

0 commit comments

Comments
 (0)