diff options
Diffstat (limited to 'src/kvirc/module')
-rw-r--r-- | src/kvirc/module/kvi_modulemanager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kvirc/module/kvi_modulemanager.cpp b/src/kvirc/module/kvi_modulemanager.cpp index 7adeb9c..5602dc4 100644 --- a/src/kvirc/module/kvi_modulemanager.cpp +++ b/src/kvirc/module/kvi_modulemanager.cpp @@ -158,7 +158,7 @@ bool KviModuleManager::loadModule(const char * modName) { if(findModule(modName)) { - //debug("MODULE %s ALREADY IN CORE MEMORY",modName); + //tqDebug("MODULE %s ALREADY IN CORE MEMORY",modName); return true; } TQString tmp; @@ -181,7 +181,7 @@ bool KviModuleManager::loadModule(const char * modName) if(!handle) { m_szLastError = kvi_library_error(); - //debug("ERROR IN LOADING MODULE %s (%s): %s",modName,szName.ptr(),kvi_library_error()); + //tqDebug("ERROR IN LOADING MODULE %s (%s): %s",modName,szName.ptr(),kvi_library_error()); return false; } KviModuleInfo * info = (KviModuleInfo *)kvi_library_symbol(handle,KVIRC_MODULE_STRUCTURE_SYMBOL); @@ -230,7 +230,7 @@ bool KviModuleManager::loadModule(const char * modName) if(!((info->init_routine)(module))) { m_szLastError = __tr2qs("Failed to execute the init routine"); - //debug("ERROR IN LOADING MODULE %s (%s): failed to execute the init routine",modName,szName.ptr()); + //tqDebug("ERROR IN LOADING MODULE %s (%s): failed to execute the init routine",modName,szName.ptr()); kvi_library_close(handle); delete module; // kill the message catalogue too then @@ -287,7 +287,7 @@ bool KviModuleManager::unloadModule(KviModule * module) } KviStr szModName = module->name(); kvi_library_close(module->handle()); - //debug("Closing module %s, dlclose returns %d",szModName.ptr(),dlclose(module->handle())); + //tqDebug("Closing module %s, dlclose returns %d",szModName.ptr(),dlclose(module->handle())); m_pModuleDict->remove(szModName.ptr()); delete module; |