}
static int
-python_handle_new_user(struct userNode *user)
+python_handle_new_user(struct userNode *user, UNUSED_ARG(void *extra))
{
PyObject* name = NULL;
PyObject* usr = NULL;
log_module(PY_LOG, LOG_WARNING, "%s", err);
}
-void python_handle_del_user(struct userNode *user, struct userNode *killer, const char *why) {
+void python_handle_del_user(struct userNode *user, struct userNode *killer, const char *why, UNUSED_ARG(void *extra)) {
PyObject *usr = NULL, *killr = NULL, *name = NULL;
PyObject *reason = NULL, *retval = NULL;
char const* err = NULL;
// Please help us by implementing any of the callbacks listed as TODO below. They already exist
// in x3, they just need handle_ bridges implemented. (see python_handle_join for an example)
reg_server_link_func(python_handle_server_link, NULL);
- reg_new_user_func(python_handle_new_user);
+ reg_new_user_func(python_handle_new_user, NULL);
reg_nick_change_func(python_handle_nick_change);
- reg_del_user_func(python_handle_del_user);
+ reg_del_user_func(python_handle_del_user, NULL);
//TODO: reg_account_func(python_handle_account); /* stamping of account name to the ircd */
//TODO: reg_handle_rename_func(python_handle_handle_rename); /* handle used to ALSO mean account name */
//TODO: reg_failpw_func(python_handle_failpw);