Changeset d4f28ed for root_commands.c


Ignore:
Timestamp:
2015-06-04T03:10:39Z (5 years ago)
Author:
dequis <dx@…>
Children:
46eee43
Parents:
1d8cbc9
git-author:
dequis <dx@…> (04-06-15 02:33:07)
git-committer:
dequis <dx@…> (04-06-15 03:10:39)
Message:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

[skip ci]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    r1d8cbc9 rd4f28ed  
    13061306}
    13071307
     1308static void cmd_aaa(irc_t *irc, char **cmd) {
     1309        char aaa[400];
     1310        int count = atoi(cmd[1]);
     1311
     1312        memset(aaa, 'A', sizeof(aaa));
     1313        aaa[sizeof(aaa) - 1] = '\0';
     1314       
     1315        while (count --> 0) {
     1316                irc_rootmsg(irc, aaa);
     1317        }
     1318}
     1319
    13081320/* IMPORTANT: Keep this list sorted! The short command logic needs that. */
    13091321command_t root_commands[] = {
     1322        { "aaa",            1, cmd_aaa,            0 },
    13101323        { "account",        1, cmd_account,        0 },
    13111324        { "add",            2, cmd_add,            0 },
Note: See TracChangeset for help on using the changeset viewer.