Changeset 399


Ignore:
Timestamp:
08/31/10 21:34:49 (18 months ago)
Author:
thaeron
Message:

trad : maj parser trad

Location:
trunk/src/modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/modules/current_module_version

    r396 r399  
    6363nioutaik=0.1 
    6464allcompo=0.1 
    65 trad=0.2.13 
     65trad=0.2.14 
    6666videolink=0.4 
    6767alist=0.2 
  • trunk/src/modules/trad.c

    r344 r399  
    1010        bot_set_desc_module ("Traduction multilingues"); 
    1111        bot_set_ident_module ("trad"); 
    12         bot_set_version_module ("0.2.13"); 
     12        bot_set_version_module ("0.2.14"); 
    1313         
    1414        bot_add_cmd_handler ("²trad", "trad_public"); 
     
    3030        int tek; 
    3131 
    32         plot = strstr (req->buffer, "<textarea name=utrans"); 
     32        plot = strstr (req->buffer, "<span title="); 
    3333        if (!plot) 
    3434        { 
     
    3737        } 
    3838     
    39         plot = strchr (plot + 21, '>'); 
     39        plot = strchr (plot + 12, '>'); 
    4040        if (!plot) 
    4141        { 
     
    4545        plot++; 
    4646 
    47         ploted = strstr (plot, "</textarea>"); 
     47        ploted = strstr (plot, "</span>"); 
    4848        if (!ploted) 
    4949                return (0); 
Note: See TracChangeset for help on using the changeset viewer.