fix possible crash on user deletion
[srvx.git] / src / mod-helpserv.c
index 7f645a9d73d68b4c646f07cf11f063fc17d45336..bd1cf1c3ffde831e7cc1993e3efe6ad635adf984 100644 (file)
@@ -4061,7 +4061,6 @@ static void associate_requests_bybot(struct helpserv_bot *hs, struct userNode *u
     struct helpserv_reqlist *reqlist, *hand_reqlist=NULL;
     struct helpserv_request *newest=NULL, *nicknewest=NULL;
     unsigned int i;
-    const int from_opserv = 0; /* For helpserv_notice */
 
     if (!(user->handle_info && (hand_reqlist = dict_find(helpserv_reqs_byhand_dict, user->handle_info->handle, NULL))) && !force_greet) {
         return;