[project @ 2005-07-04 01:48:38 by unknown_lamer]
[clinton/bobotpp.git] / source / ServerQueue.C
index ebba328..4fa02c0 100644 (file)
@@ -14,7 +14,7 @@
 
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -233,14 +233,14 @@ ServerQueue::sendPrivmsg(String dest, String message)
                                                     str2scm
                                                     (message), SCM_UNDEFINED));
     else
-      Interp::bot->botInterp->RunHooks (Hook::SEND_MESSAGE,
-                                       Interp::bot->nickName + " " +
-                                       message,
-                                       scm_listify (Utils::
-                                                    str2scm (Interp::bot->nickName),
-                                                    Utils::
-                                                    str2scm
-                                                    (message), SCM_UNDEFINED));
+      Interp::bot->botInterp->RunHooks 
+       (Hook::SEND_MESSAGE,
+        Interp::bot->nickName + " " + dest +
+        message,
+        scm_listify (Utils::str2scm (Interp::bot->nickName),
+                     Utils::str2scm (dest),
+                     Utils::str2scm
+                     (message), SCM_UNDEFINED));
 #endif
 }