{
addLine(String("WHO ") + who,
WHO_PRIORITY, WHO_PENALTY, ServerQueueItem::WHO);
+
+#ifdef USESCRIPTS
+ Interp::bot->botInterp->RunHooks (Hook::SEND_WHO,
+ who,
+ scm_list_n (Utils::
+ str2scm (who),
+ SCM_UNDEFINED));
+#endif
}
void
{
addLine(String("WHOIS ") + nick,
NICK_PRIORITY, WHOIS_PENALTY, ServerQueueItem::WHOIS);
+
+#ifdef USESCRIPTS
+ Interp::bot->botInterp->RunHooks (Hook::SEND_WHOIS,
+ nick,
+ scm_list_n (Utils::
+ str2scm (nick),
+ SCM_UNDEFINED));
+#endif
}