Changeset 753 for branches/ithildin-1.1


Ignore:
Timestamp:
06/24/06 18:24:38 (6 years ago)
Author:
wd
Message:

Really fix SVSMODE< cleaning out warnings etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ithildin-1.1/modules/ircd/commands/svsmode.c

    r752 r753  
    4949    channel_t *chan; 
    5050    client_t *cp; 
    51     time_t ts; 
    52     char *s; 
    53     int oarg = 2; 
    54     int plus = 1; 
    55     uint64_t oldmode; 
    56     char result[64]; 
    5751 
    5852    if (check_channame(argv[1]) && (chan = find_channel(argv[1])) != NULL) { 
     
    7266             * just pass along the command, we expect a MODE back when it is 
    7367             * processed by the user's server. */ 
    74             user_mode(cp, cp, argv + 3, argc - 3, true); 
     68            user_mode(cp, cp, argc - 3, argv + 3, true); 
    7569 
    7670        /* XXX: For modes with arguments (none exist - yet) we do not 
     
    7973        if (argc > 3) 
    8074            sendto_serv_butone(sptr, cli, srv, cp->nick, "SVSMODE", 
    81                     "%s %s", ts, argv[2], argv[3]); 
     75                    "%s %s", argv[2], argv[3]); 
    8276        else 
    8377            sendto_serv_butone(sptr, cli, srv, cp->nick, "SVSMODE", 
    84                     "%s", ts, argv[2]); 
     78                    "%s", argv[2]); 
    8579    } 
    8680} 
Note: See TracChangeset for help on using the changeset viewer.