enanobot.php
changeset 38 e6a4b7f91e91
parent 31 d75124700259
child 40 1855846cbdab
--- a/enanobot.php	Tue Dec 30 06:16:54 2008 -0500
+++ b/enanobot.php	Wed Dec 31 21:41:57 2008 -0500
@@ -240,9 +240,7 @@
   $libirc_channels = array();
   
   // we were able to get back in; ask NickServ to GHOST the old nick
-  $irc->connect("$nick`gh", $user, $name, false);
-  $irc->privmsg('NickServ', "GHOST $nick $pass");
-  $irc->change_nick($nick, $pass);
+  $irc->connect($nick, $user, $name, false);
   
   foreach ( $channels as $channel )
   {