[project @ 2005-01-12 05:36:40 by unknown_lamer]
[clinton/bobotpp.git] / source / DCCParser.C
index 859ce79..215ec80 100644 (file)
@@ -1,6 +1,6 @@
 // DCCParser.C  -*- C++ -*-
 // Copyright (c) 1998 Etienne BERNARD
-// Copyright (C) 2002 Clinton Ebadi
+// Copyright (C) 2002,2005 Clinton Ebadi
 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -34,9 +34,8 @@ DCCParser::parseLine(DCCConnection *cnx, String line)
   // Call hooks/dcc/chat-message hook functions
   cnx->get_bot()->botInterp->RunHooks (Hook::DCC_CHAT_MESSAGE, 
                                 from->getAddress () + " " + line,
-                                scm_list_n (Utils::
-                                            string2SCM (from->getAddress ()),
-                                            Utils::string2SCM (line),
+                                scm_list_n (Utils::str2scm (from->getAddress ()),
+                                            Utils::str2scm (line),
                                             SCM_UNDEFINED));
 #endif
   Parser::parseMessage(cnx->get_bot()->serverConnection,