X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fm_gline.c;h=549ae140db667df9ebac742cc6efb0ec0ec25635;hb=79f4396535284e060d4a4ada4a4cc897cd5f69d3;hp=d379c611076d2ba675a3769cf57baec00d924587;hpb=b41bd506a1da169102d71d8170e753b94377b82c;p=ircu2.10.12-pk.git diff --git a/ircd/m_gline.c b/ircd/m_gline.c index d379c61..549ae14 100644 --- a/ircd/m_gline.c +++ b/ircd/m_gline.c @@ -1,4 +1,4 @@ -/* +\/* * IRC - Internet Relay Chat, ircd/m_gline.c * Copyright (C) 1990 Jarkko Oikarinen and * University of Oulu, Computing Center @@ -308,7 +308,7 @@ ms_gline(struct Client *cptr, struct Client *sptr, int parc, char *parv[]) if (!agline || /* gline creation, has to be the reason */ /* trial-convert as lifetime, and if it doesn't fully convert, * it must be the reason */ - ((lifetime = strtoul(parv[5], &tmp, 10)) && !*tmp)) { + (!(lifetime = strtoul(parv[5], &tmp, 10)) && !*tmp)) { lifetime = 0; reason = parv[5];