Changeset 5424c76
- Timestamp:
- 2006-01-19T17:52:19Z (19 years ago)
- Branches:
- master
- Children:
- b8c2ace
- Parents:
- bd9b00f
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ipc.c
rbd9b00f r5424c76 59 59 } 60 60 61 staticint ipc_master_cmd_rehash( irc_t *data, char **cmd )61 int ipc_master_cmd_rehash( irc_t *data, char **cmd ) 62 62 { 63 63 runmode_t oldmode; -
ipc.h
rbd9b00f r5424c76 27 27 #include "bitlbee.h" 28 28 29 29 30 struct bitlbee_child 30 31 { … … 37 38 char *realname; 38 39 }; 40 39 41 40 42 void ipc_master_read( gpointer data, gint source, GaimInputCondition cond ); … … 49 51 void ipc_to_children_str( char *format, ... ); 50 52 53 /* We need this function in inetd mode, so let's just make it non-static. */ 54 int ipc_master_cmd_rehash( irc_t *data, char **cmd ); 55 56 51 57 extern GSList *child_list; -
irc_commands.c
rbd9b00f r5424c76 580 580 static int irc_cmd_rehash( irc_t *irc, char **cmd ) 581 581 { 582 ipc_to_master( cmd ); 582 if( global.conf->runmode == RUNMODE_INETD ) 583 ipc_master_cmd_rehash( NULL, NULL ); 584 else 585 ipc_to_master( cmd ); 583 586 584 587 irc_reply( irc, 382, "%s :Rehashing", CONF_FILE ); … … 656 659 657 660 if( irc_commands[i].flags & IRC_CMD_TO_MASTER ) 661 /* IPC doesn't make sense in inetd mode, 662 but the function will catch that. */ 658 663 ipc_to_master( cmd ); 659 664 else
Note: See TracChangeset
for help on using the changeset viewer.