- Timestamp:
- 02/27/01 04:16:36 (8 years ago)
- Location:
- trunk/rms/src
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/rms/src/rms.cpp
r2398 r2476 74 74 }; 75 75 76 static const unsigned short NUM_COMMANDS = 1 1;76 static const unsigned short NUM_COMMANDS = 12; 77 77 static struct Command commands[NUM_COMMANDS] = 78 78 { … … 81 81 { "QUIT", &CRMSClient::Process_QUIT, 82 82 "Close the connection. With an argument of 1 causes the plugin to unload." }, 83 { "TERM", &CRMSClient::Process_TERM, 84 "Terminate the licq daemon." }, 83 85 { "INFO", &CRMSClient::Process_INFO, 84 86 "Print out user information. Argument is the uin, or none for personal." }, … … 681 683 682 684 /*--------------------------------------------------------------------------- 685 * CRMSClient::Process_TERM 686 *-------------------------------------------------------------------------*/ 687 int CRMSClient::Process_TERM() 688 { 689 licqDaemon->Shutdown(); 690 return -1; 691 } 692 693 694 /*--------------------------------------------------------------------------- 683 695 * CRMSClient::Process_HELP 684 696 *-------------------------------------------------------------------------*/ -
trunk/rms/src/rms.h
r2348 r2476 65 65 66 66 int Process_QUIT(); 67 int Process_TERM(); 67 68 int Process_INFO(); 68 69 int Process_STATUS();
