#include "ShitList.H"
typedef void (*fptr) (ServerConnection *, Person *, String);
-std::map < std::string, fptr, std::less < std::string > >Parser::functions;
+std::map < std::string, fptr, std::less < std::string > > Parser::functions;
void
Parser::init ()
StringTokenizer st (rest);
String channel = st.next_token ();
#ifdef USESCRIPTS
- cnx->bot->botInterp->RunHooks (Hook::LEAVE, n + " " + channel,
+ cnx->bot->botInterp->RunHooks (Hook::PART, n + " " + channel,
scm_listify (Utils::
str2scm (n),
Utils::
#endif
if (n.toLower () == cnx->bot->nickName.toLower ())
{
- cnx->bot->logLine (String ("Leaved channel ") + channel + ".");
+ cnx->bot->logLine (String ("Left channel ") + channel + ".");
cnx->bot->channelList->delChannel (channel);
}
else
wd.func = scmFunc;
wd.args = args_list;
scm_internal_catch (SCM_BOOL_T,
- (scm_t_catch_body) lazy_apply_wrapper, (void *) &wd,
- (scm_t_catch_handler) empty_handler, 0);
+ (scm_t_catch_body) Interp::LazyApplyWrapper,
+ (void *) &wd,
+ (scm_t_catch_handler) Interp::EmptyHandler, 0);
}
#endif