Changeset d4f28ed for root_commands.c
- Timestamp:
- 2015-06-04T03:10:39Z (9 years ago)
- Children:
- 46eee43
- Parents:
- 1d8cbc9
- git-author:
- dequis <dx@…> (04-06-15 02:33:07)
- git-committer:
- dequis <dx@…> (04-06-15 03:10:39)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
r1d8cbc9 rd4f28ed 1306 1306 } 1307 1307 1308 static 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 1308 1320 /* IMPORTANT: Keep this list sorted! The short command logic needs that. */ 1309 1321 command_t root_commands[] = { 1322 { "aaa", 1, cmd_aaa, 0 }, 1310 1323 { "account", 1, cmd_account, 0 }, 1311 1324 { "add", 2, cmd_add, 0 },
Note: See TracChangeset
for help on using the changeset viewer.