patchDcHub: Hub software for Direct Connect - Patches: patch #2749, users are enabled to send messages...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #2749: users are enabled to send messages to themselves

Submitter:  Dirk Rieger <hhgoth>
Submitted:  Sun 07 Mar 2004 12:54:48 PM UTC
   
 
Category:  None Priority:  3 - Low
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Sun 07 Mar 2004 07:55:41 PM UTC, comment #1: 

...am I stupid ? ;)
thats correct:

* process_ucmd.c.orig Sun Mar 7 13:51:01 2004
 --- process_ucmd.c Sun Mar 7 13:49:50 2004
 ***************
 *** 1598,1603 **
 --- 1598,1606 ----
 if(!strcmp(source_nick,luce->user_nick->str))
 goto leave; /* the source nickname does not match with connexion nickname */

+ if(strcmp(source_nick,dest_nick))
 + goto leave; /* drop private messages send to yourself */
 +
#if 1
 #warning code disabled (useful ?)
 #else

Dirk Rieger <hhgoth>
Sun 07 Mar 2004 12:54:48 PM UTC, original submission:  

this drops private messages if source and destnick are equal

* process_ucmd.c.orig Sun Mar  7 13:51:01 2004
--- process_ucmd.c      Sun Mar  7 13:49:50 2004
*************
* 1598,1603 **
--- 1598,1606 ----
        if(strcmp(source_nick,luce->user_nick->str))
                goto leave;                     /* the source nickname does not match with connexion nickname */

+       if(strcmp(source_nick,dest_nick))
+               goto leave;                     /* drop private messages send to yourself */
+
  #if 1
  #warning code disabled (useful ?)
  #else

Dirk Rieger <hhgoth>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code