--- a/enanobot.php Mon Aug 25 12:34:26 2008 -0400
+++ b/enanobot.php Mon Aug 25 12:36:37 2008 -0400
@@ -192,8 +192,8 @@
if ( strpos($message['message'], $nick) && !in_array($message['nick'], $privileged_list) && $message['nick'] != $nick )
{
- //$target_nick =& $message['nick'];
- //$chan->msg("{$target_nick}, I'm only a bot. :-) You should probably rely on the advice of humans if you need further assistance.", true);
+ $target_nick =& $message['nick'];
+ $chan->msg("{$target_nick}, I'm only a bot. :-) You should probably rely on the advice of humans if you need further assistance.", true);
}
else
{