Changeset d860a8d for irc_commands.c
- Timestamp:
- 2010-04-01T03:38:50Z (14 years ago)
- Branches:
- master
- Children:
- e63507a
- Parents:
- 81e04e1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_commands.c
r81e04e1 rd860a8d 309 309 } 310 310 311 static void irc_cmd_nickserv( irc_t *irc, char **cmd ) 312 { 313 /* [SH] This aliases the NickServ command to PRIVMSG root */ 314 /* [TV] This aliases the NS command to PRIVMSG root as well */ 315 root_command( irc, cmd + 1 ); 316 } 317 311 318 312 319 … … 516 523 517 524 set_setstr( &irc->set, "away", u->away ); 518 }519 520 static void irc_cmd_nickserv( irc_t *irc, char **cmd )521 {522 /* [SH] This aliases the NickServ command to PRIVMSG root */523 /* [TV] This aliases the NS command to PRIVMSG root as well */524 root_command( irc, cmd + 1 );525 525 } 526 526 … … 578 578 { "who", 0, irc_cmd_who, IRC_CMD_LOGGED_IN }, 579 579 { "privmsg", 1, irc_cmd_privmsg, IRC_CMD_LOGGED_IN }, 580 { "nickserv", 1, irc_cmd_nickserv, IRC_CMD_LOGGED_IN }, 581 { "ns", 1, irc_cmd_nickserv, IRC_CMD_LOGGED_IN }, 580 582 #if 0 581 583 { "oper", 2, irc_cmd_oper, IRC_CMD_LOGGED_IN }, … … 587 589 { "topic", 1, irc_cmd_topic, IRC_CMD_LOGGED_IN }, 588 590 { "away", 0, irc_cmd_away, IRC_CMD_LOGGED_IN }, 589 { "nickserv", 1, irc_cmd_nickserv, IRC_CMD_LOGGED_IN },590 { "ns", 1, irc_cmd_nickserv, IRC_CMD_LOGGED_IN },591 591 { "version", 0, irc_cmd_version, IRC_CMD_LOGGED_IN }, 592 592 { "completions", 0, irc_cmd_completions, IRC_CMD_LOGGED_IN },
Note: See TracChangeset
for help on using the changeset viewer.