aboutsummaryrefslogtreecommitdiffstats
path: root/set.c
diff options
context:
space:
mode:
Diffstat (limited to 'set.c')
-rw-r--r--set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/set.c b/set.c
index 764ca8b7..4f35de22 100644
--- a/set.c
+++ b/set.c
@@ -266,7 +266,7 @@ char *set_eval_mode_buddies( set_t *set, char *value, char modeflag )
else if(!strcmp(value, "notaway"))
mode=3;
else
- return NULL;
+ return SET_INVALID;
/* sorry for calling them op/deop - too lazy for search+replace :P */
op[0]='\0';