Fix small bug in the VERSION/RPL_MYINFO stuff, as pointed out by init.
This commit is contained in:
parent
af1a78b7c6
commit
0258787d5d
|
@ -152,8 +152,8 @@ construct_cflag_param_string(void)
|
|||
ConfigChannel.use_except ? "e" : "",
|
||||
ConfigChannel.use_forward ? "f" : "",
|
||||
ConfigChannel.use_halfop ? "h" : "",
|
||||
strcasecmp(ConfigChannel.disabledmodes, "j") ? "" : "j",
|
||||
strcasecmp(ConfigChannel.disabledmodes, "q") ? "" : "q",
|
||||
strchr(ConfigChannel.disabledmodes, "j") ? "" : "j",
|
||||
strchr(ConfigChannel.disabledmodes, "q") ? "" : "q",
|
||||
ConfigChannel.use_invex ? "I" : "");
|
||||
}
|
||||
|
||||
|
|
|
@ -238,9 +238,9 @@ isupport_chanmodes(const void *ptr)
|
|||
rb_snprintf(result, sizeof result, "%s%sb%s,k,%sl%s,%s",
|
||||
ConfigChannel.use_except ? "e" : "",
|
||||
ConfigChannel.use_invex ? "I" : "",
|
||||
strcasecmp(ConfigChannel.disabledmodes, "q") ? "" : "q",
|
||||
strchr(ConfigChannel.disabledmodes, "q") ? "" : "q",
|
||||
ConfigChannel.use_forward ? "f" : "",
|
||||
strcasecmp(ConfigChannel.disabledmodes, "j") ? "" : "j",
|
||||
strchr(ConfigChannel.disabledmodes, "j") ? "" : "j",
|
||||
cflagsbuf);
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue