| | 325 | | signal_add_last("send command", (SIGNAL_FUNC) event_command_last);
|
| | 326 | | signal_add("default command", (SIGNAL_FUNC) event_default_command);
|
| | 327 | | signal_add("error command", (SIGNAL_FUNC) event_cmderror);
|
| | 328 | | signal_add("list subcommands", (SIGNAL_FUNC) event_list_subcommands);
|
| | 329 | | |
| | 330 | | command_set_options("echo", "current +level +window");
|
| | 331 | | } |
| | 332 | | |
| | 333 | | void fe_core_commands_deinit(void) |
| | 334 | | { |
| Wrong Number of Parameters | 335 | | command_unbind("echo", (SIGNAL_FUNC) cmd_echo);
|
| | 336 | | command_unbind("version", (SIGNAL_FUNC) cmd_version);
|
| | 337 | | command_unbind("cat", (SIGNAL_FUNC) cmd_cat);
|
| | 338 | | command_unbind("beep", (SIGNAL_FUNC) cmd_beep);
|
| | 339 | | command_unbind("uptime", (SIGNAL_FUNC) cmd_uptime);
|
| | 340 | | command_unbind("nick", (SIGNAL_FUNC) cmd_nick);
|
| | 341 | | |
| | 342 | | signal_remove("send command", (SIGNAL_FUNC) event_command);
|
| | 343 | | signal_remove("send command", (SIGNAL_FUNC) event_command_last);
|
| | 344 | | signal_remove("default command", (SIGNAL_FUNC) event_default_command);
|
| | 345 | | signal_remove("error command", (SIGNAL_FUNC) event_cmderror);
|