Changeset ebaebfe for irc_commands.c
- Timestamp:
- 2010-03-27T01:57:00Z (14 years ago)
- Branches:
- master
- Children:
- 4be8239
- Parents:
- 3ddb7477
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_commands.c
r3ddb7477 rebaebfe 94 94 } 95 95 96 #if 097 96 static void irc_cmd_quit( irc_t *irc, char **cmd ) 98 97 { … … 105 104 static void irc_cmd_ping( irc_t *irc, char **cmd ) 106 105 { 107 irc_write( irc, ":%s PONG %s :%s", irc->myhost, irc->myhost, cmd[1]?cmd[1]:irc->myhost ); 108 } 109 106 irc_write( irc, ":%s PONG %s :%s", irc->root->host, 107 irc->root->host, cmd[1]?cmd[1]:irc->root->host ); 108 } 109 110 #if 0 110 111 static void irc_cmd_oper( irc_t *irc, char **cmd ) 111 112 { … … 580 581 { "user", 4, irc_cmd_user, IRC_CMD_PRE_LOGIN }, 581 582 { "nick", 1, irc_cmd_nick, 0 }, 582 #if 0583 583 { "quit", 0, irc_cmd_quit, 0 }, 584 584 { "ping", 0, irc_cmd_ping, 0 }, 585 #if 0 585 586 { "oper", 2, irc_cmd_oper, IRC_CMD_LOGGED_IN }, 586 587 { "mode", 1, irc_cmd_mode, IRC_CMD_LOGGED_IN },
Note: See TracChangeset
for help on using the changeset viewer.