X-Git-Url: https://git.hcoop.net/clinton/bobotpp.git/blobdiff_plain/7b56471188507f71ab561755e2dbe6125f1c4dd9..ae97d6ecf49738b9e0e253a07db0b07a28fee05e:/source/ServerQueue.C diff --git a/source/ServerQueue.C b/source/ServerQueue.C index 03ae0f3..4fa02c0 100644 --- a/source/ServerQueue.C +++ b/source/ServerQueue.C @@ -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 }