X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/212380e3f42f585dc1ea927402252eb943f91f7b..4d17e288b419ed53a94b2d1daa6a139e42675a6c:/modules/m_services.c diff --git a/modules/m_services.c b/modules/m_services.c index f124fc4..dbfd064 100644 --- a/modules/m_services.c +++ b/modules/m_services.c @@ -237,7 +237,7 @@ me_rsfnc(struct Client *client_p, struct Client *source_p, del_all_accepts(target_p); - comm_note(target_p->localClient->fd, "Nick: %s", target_p->name); + comm_note(target_p->localClient->F->fd, "Nick: %s", target_p->name); return 0; } @@ -259,7 +259,7 @@ me_nickdelay(struct Client *client_p, struct Client *source_p, int parc, const c duration = atoi(parv[1]); if (duration <= 0) { - nd = hash_find_nd(parv[2]); + nd = irc_dictionary_retrieve(nd_dict, parv[2]); if (nd != NULL) free_nd_entry(nd); } @@ -268,7 +268,7 @@ me_nickdelay(struct Client *client_p, struct Client *source_p, int parc, const c if (duration > 86400) duration = 86400; add_nd_entry(parv[2]); - nd = hash_find_nd(parv[2]); + nd = irc_dictionary_retrieve(nd_dict, parv[2]); if (nd != NULL) nd->expire = CurrentTime + duration; }