[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dchub-dev] [Patch #1528] some bugfixes and extendet detection
From: |
noreply |
Subject: |
[Dchub-dev] [Patch #1528] some bugfixes and extendet detection |
Date: |
Thu, 29 May 2003 09:32:40 -0400 |
Patch #1528 has been updated.
Project:
Category: ClientBot
Status: Open
Summary: some bugfixes and extendet detection
Follow-Ups:
Date: Sun 05/25/2003 at 13:28
By: hhgoth
Comment:
enhanced Client Detection
incomplete-files kick-message now includes filename
-------------------------------------------------------
Date: Sun 05/25/2003 at 21:59
By: hhgoth
Comment:
additional client detection fix
small description decoding fix
-------------------------------------------------------
Date: Thu 05/29/2003 at 15:32
By: ericprev
Comment:
I have applied your patch but I have an error on 2 parts of the patch. I have
committed the partially updated clientbot.c. I have the error on this (the line
numbers were updated by patch):
***************
*** 1633,1638 ****
{
GString *msg;
msg=g_string_new("");
g_string_sprintf(msg,"-tbanip %s 10",nick); // 10min Ban
G_LOCK(hub_com);
send_private_chat_message(hub_com,my_name,"Hub-Security",msg->str,1);
--- 1672,1681 ----
{
GString *msg;
msg=g_string_new("");
+ g_string_sprintf(msg,"don't share
eDonkey/eMule/Overnet/WinMX/KaZaa or any other incomplete/temp-downloads
!!!\r\nPath: %s",filename);
+ G_LOCK(hub_com);
+
send_private_chat_message(hub_com,my_name,(char *)nick,msg->str,1);
+ G_UNLOCK(hub_com);
g_string_sprintf(msg,"-tbanip %s 10",nick); // 10min Ban
G_LOCK(hub_com);
send_private_chat_message(hub_com,my_name,"Hub-Security",msg->str,1);
***************
*** 1653,1658 ****
{
GString *msg;
msg=g_string_new("");
g_string_sprintf(msg,"-tbanip %s 10",(char *)nick); // 10min Ban
G_LOCK(hub_com);
send_private_chat_message(hub_com,my_name,"Hub-Security",msg->str,1);
--- 1696,1705 ----
{
GString *msg;
msg=g_string_new("");
+ g_string_sprintf(msg,"don't share
eDonkey/eMule/Overnet/WinMX/KaZaa or any other incomplete/temp-downloads
!!!\r\nPath: %s",filename);
+ G_LOCK(hub_com);
+ send_private_chat_message(hub_com,my_name,(char
*)nick,msg->str,1);
+ G_UNLOCK(hub_com);
g_string_sprintf(msg,"-tbanip %s 10",(char *)nick); // 10min Ban
G_LOCK(hub_com);
send_private_chat_message(hub_com,my_name,"Hub-Security",msg->str,1);
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://savannah.nongnu.org/patch/?func=detailpatch&patch_id=1528&group_id=3963