Changeset c595308 for root_commands.c
- Timestamp:
- 2008-02-11T21:20:35Z (17 years ago)
- Branches:
- master
- Children:
- 8bd697c
- Parents:
- d6fdf44
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
rd6fdf44 rc595308 86 86 return; 87 87 88 if(!g_ mutex_trylock(irc->otr_mutex)) {88 if(!g_static_rec_mutex_trylock(&irc->otr_mutex)) { 89 89 irc_usermsg(irc, "keygen in progress, bitlbee comatose - please wait"); 90 90 return; … … 97 97 { 98 98 irc_usermsg( irc, "Not enough parameters given (need %d)", commands[i].required_parameters ); 99 g_ mutex_unlock(irc->otr_mutex);99 g_static_rec_mutex_unlock(&irc->otr_mutex); 100 100 return; 101 101 } 102 102 commands[i].execute( irc, cmd ); 103 g_ mutex_unlock(irc->otr_mutex);103 g_static_rec_mutex_unlock(&irc->otr_mutex); 104 104 return; 105 105 } 106 106 107 107 irc_usermsg( irc, "Unknown command: %s. Please use \x02help commands\x02 to get a list of available commands.", cmd[0] ); 108 g_ mutex_unlock(irc->otr_mutex);108 g_static_rec_mutex_unlock(&irc->otr_mutex); 109 109 } 110 110
Note: See TracChangeset
for help on using the changeset viewer.