]> jfr.im git - irc/quakenet/newserv.git/commitdiff
newsearch: Fix return type for reason operator.
authorGunnar Beutner <redacted>
Tue, 6 Aug 2013 20:24:06 +0000 (22:24 +0200)
committerGunnar Beutner <redacted>
Tue, 6 Aug 2013 20:24:06 +0000 (22:24 +0200)
newsearch/ns-reason.c

index 6c354c08a856536af817e9f23ef6aa95ea09d539..82ca1303cae1d7a1f147943a1467a4748f5548c4 100644 (file)
@@ -18,7 +18,7 @@ struct searchNode *reason_parse(searchCtx *ctx, int argc, char **argv) {
     return NULL;
   }
 
-  thenode->returntype = RETURNTYPE_BOOL;
+  thenode->returntype = RETURNTYPE_STRING;
   thenode->localdata = NULL;
   thenode->exe = reason_exe;
   thenode->free = reason_free;