Remove stray debugging code
authorclinton <clinton@unknownlamer.org>
Tue, 18 Nov 2008 23:08:45 +0000 (23:08 +0000)
committerclinton <clinton@unknownlamer.org>
Tue, 18 Nov 2008 23:08:45 +0000 (23:08 +0000)
source/BotInterp.C
source/Utils.C

index 6d0349d..b106dfa 100644 (file)
@@ -29,7 +29,6 @@
 #include "Interp.H"
 #include "Utils.H"
 
-
 #ifdef USESCRIPTS
 
 #include <libguile.h>
@@ -176,11 +175,9 @@ BotInterp::RunHooks(int hooktype, std::string match, SCM args)
        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, 
index aabee5e..dadfff2 100644 (file)
@@ -68,6 +68,7 @@ std::string
 Utils::make_wildcard (std::string mask)
 {
   StringTokenizer st (mask);
+  std::cerr << "make_wildcard: \"" << mask << "\"\n";
 
   st.next_token('!', true);
   std::string nick = "*";
@@ -102,9 +103,7 @@ Utils::make_wildcard (std::string mask)
     {
       if (host == "") host = "*";
     }
-
-  std::cout << nick + "!" + user + "@" + host << std::endl;
-  
   return nick + "!" + user + "@" + host;
 }