#include "Interp.H"
#include "Utils.H"
-
#ifdef USESCRIPTS
#include <libguile.h>
it != hooks[hooktype].rend();
++it)
{
- std::cerr << "Matching...\n";
if (scm_regexp_exec((*it)->regex, Utils::str2scm (match),
SCM_UNDEFINED, SCM_UNDEFINED) != SCM_BOOL_F)
{
- std::cerr << " Match " << (*it)->regex_str << std::endl;
bool fallthru_p = (*it)->fallthru;
wd.func = (*it)->function;
result = scm_internal_catch(SCM_BOOL_T,
Utils::make_wildcard (std::string mask)
{
StringTokenizer st (mask);
+ std::cerr << "make_wildcard: \"" << mask << "\"\n";
st.next_token('!', true);
std::string nick = "*";
{
if (host == "") host = "*";
}
-
- std::cout << nick + "!" + user + "@" + host << std::endl;
-
+
return nick + "!" + user + "@" + host;
}