]> jfr.im git - irc/quakenet/newserv.git/blobdiff - trusts/data.c
gline playground
[irc/quakenet/newserv.git] / trusts / data.c
index 5aeae8116aa76eee0bf9940bf994c02dce0335ef..8ff3bc90f4c70bcac7356d2db70db31ca76f116c 100644 (file)
@@ -439,7 +439,7 @@ int tg_modify(trustgroup *oldtg, trustgroup *newtg) {
   vnewtg.createdby = getsstring(newtg->createdby->content, CREATEDBYLEN);
   vnewtg.contact = getsstring(newtg->contact->content, CONTACTLEN);
   vnewtg.comment = getsstring(newtg->comment->content, COMMENTLEN);
-  if(!vnewtg.name || !vnewtg.createdby || !vnewtg.contact || vnewtg.comment) {
+  if(!vnewtg.name || !vnewtg.createdby || !vnewtg.contact || !vnewtg.comment) {
     freesstring(vnewtg.name);
     freesstring(vnewtg.createdby);
     freesstring(vnewtg.contact);