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