[project @ 2005-07-04 01:48:38 by unknown_lamer]
[clinton/bobotpp.git] / source / Bot.C
index 0260d93..64b4e46 100644 (file)
@@ -330,12 +330,13 @@ Bot::run()
        {
          // Disconnected
 #ifdef USESCRIPTS
-         // Run hooks/disconnected
+         // Run hooks/disconnect
          this->botInterp->RunHooks 
            (Hook::DISCONNECT, 
             serverConnection->server->getHostName (),
             scm_list_n 
-            (Utils::str2scm  (serverConnection->server->getHostName ())));
+            (Utils::str2scm  (serverConnection->server->getHostName ()),
+             SCM_BOOL_F));
 #endif
          nextServer();
        }