| | 910 | | command_bind_irc("voice", NULL, (SIGNAL_FUNC) cmd_voice);
| | | 911 | | command_bind_irc("devoice", NULL, (SIGNAL_FUNC) cmd_devoice);
| | | 912 | | command_bind_irc("mode", NULL, (SIGNAL_FUNC) cmd_mode);
| | | 913 | | | | | 914 | | command_set_options("op", "yes");
| | | 915 | | } | | | 916 | | | | | 917 | | void modes_deinit(void) | | | 918 | | { | | | 919 | | signal_remove("event 221", (SIGNAL_FUNC) event_user_mode);
| | Wrong Number of Parameters | 920 | | signal_remove("event 305", (SIGNAL_FUNC) event_unaway);
| | | 921 | | signal_remove("event 306", (SIGNAL_FUNC) event_away);
| | | 922 | | signal_remove("event 381", (SIGNAL_FUNC) event_oper);
| | | 923 | | signal_remove("event mode", (SIGNAL_FUNC) event_mode);
| | | 924 | | signal_remove("requested usermode change", (SIGNAL_FUNC) sig_req_usermode_change);
| | | 925 | | | | | 926 | | command_unbind("op", (SIGNAL_FUNC) cmd_op);
| | | 927 | | command_unbind("deop", (SIGNAL_FUNC) cmd_deop);
| | | 928 | | command_unbind("voice", (SIGNAL_FUNC) cmd_voice);
| | | 929 | | command_unbind("devoice", (SIGNAL_FUNC) cmd_devoice);
| | | 930 | | command_unbind("mode", (SIGNAL_FUNC) cmd_mode);
|
|