| | 453 | | signal_add("default command server", (SIGNAL_FUNC) sig_default_command_server);
|
| | 454 | | signal_add("server sendmsg", (SIGNAL_FUNC) sig_server_sendmsg);
|
| | 455 | | |
| | 456 | | command_set_options("connect", "4 6 !! -network ssl +ssl_cert +ssl_pkey ssl_verify +ssl_cafile +ssl_capath +host noproxy -rawlog");
|
| | 457 | | command_set_options("msg", "channel nick");
|
| | 458 | | } |
| | 459 | | |
| | 460 | | void chat_commands_deinit(void) |
| | 461 | | { |
| | 462 | | command_unbind("server", (SIGNAL_FUNC) cmd_server);
|
| Wrong Number of Parameters | 463 | | command_unbind("server connect", (SIGNAL_FUNC) cmd_server_connect);
|
| | 464 | | command_unbind("connect", (SIGNAL_FUNC) cmd_connect);
|
| | 465 | | command_unbind("disconnect", (SIGNAL_FUNC) cmd_disconnect);
|
| | 466 | | command_unbind("quit", (SIGNAL_FUNC) cmd_quit);
|
| | 467 | | command_unbind("msg", (SIGNAL_FUNC) cmd_msg);
|
| | 468 | | command_unbind("foreach", (SIGNAL_FUNC) cmd_foreach);
|
| | 469 | | command_unbind("foreach server", (SIGNAL_FUNC) cmd_foreach_server);
|
| | 470 | | command_unbind("foreach channel", (SIGNAL_FUNC) cmd_foreach_channel);
|
| | 471 | | command_unbind("foreach query", (SIGNAL_FUNC) cmd_foreach_query);
|
| | 472 | | |
| | 473 | | signal_remove("default command server", (SIGNAL_FUNC) sig_default_command_server);
|