Fix small bug in the VERSION/RPL_MYINFO stuff, as pointed out by init.

This commit is contained in:
B.Greenham 2011-01-19 11:28:16 -05:00
parent af1a78b7c6
commit 0258787d5d
2 changed files with 4 additions and 4 deletions

View File

@ -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" : "");
}

View File

@ -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;
}