Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 183 lines (183 sloc) 4.141 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
/* Generated by genconfig */
else if(strcmp(cmd, "no-mcc")==0)
mirc_colour_compat=false;
else if(strcmp(cmd, "mcc")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
mirc_colour_compat=value;
else
{
asb_failsafe(c_err, "Malformed rc entry for mcc (value not numeric)");
asb_failsafe(c_err, rest);
}
}
else if(strcmp(cmd, "no-fred")==0)
force_redraw=false;
else if(strcmp(cmd, "fred")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
force_redraw=value;
else
{
asb_failsafe(c_err, "Malformed rc entry for fred (value not numeric)");
asb_failsafe(c_err, rest);
}
}
else if(strcmp(cmd, "buf")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
buflines=value;
else
{
asb_failsafe(c_err, "Malformed rc entry for buf (value not numeric)");
asb_failsafe(c_err, rest);
}
}
else if(strcmp(cmd, "mnln")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
maxnlen=value;
else
{
asb_failsafe(c_err, "Malformed rc entry for mnln (value not numeric)");
asb_failsafe(c_err, rest);
}
}
else if(strcmp(cmd, "no-fwc")==0)
full_width_colour=false;
else if(strcmp(cmd, "fwc")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
full_width_colour=value;
else
full_width_colour=true;
}
else if(strcmp(cmd, "no-hts")==0)
hilite_tabstrip=false;
else if(strcmp(cmd, "hts")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
hilite_tabstrip=value;
else
hilite_tabstrip=true;
}
else if(strcmp(cmd, "no-tsb")==0)
tsb=false;
else if(strcmp(cmd, "tsb")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
tsb=value;
else
tsb=true;
}
else if(strcmp(cmd, "tping")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
tping=value;
else
{
asb_failsafe(c_err, "Malformed rc entry for tping (value not numeric)");
asb_failsafe(c_err, rest);
}
}
else if(strcmp(cmd, "no-ts")==0)
ts=false;
else if(strcmp(cmd, "ts")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
ts=value;
else
{
asb_failsafe(c_err, "Malformed rc entry for ts (value not numeric)");
asb_failsafe(c_err, rest);
}
}
else if(strcmp(cmd, "no-utc")==0)
utc=false;
else if(strcmp(cmd, "utc")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
utc=value;
else
utc=true;
}
else if(strcmp(cmd, "no-its")==0)
its=false;
else if(strcmp(cmd, "its")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
its=value;
else
its=true;
}
else if(strcmp(cmd, "no-quiet")==0)
quiet=false;
else if(strcmp(cmd, "quiet")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
quiet=value;
else
quiet=true;
}
else if(strcmp(cmd, "no-debug")==0)
debug=false;
else if(strcmp(cmd, "debug")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
debug=value;
else
debug=true;
}
else if(strcmp(cmd, "no-conf")==0)
conf=false;
else if(strcmp(cmd, "conf")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
conf=value;
else
conf=true;
}
else if(strcmp(cmd, "no-prefix")==0)
show_prefix=false;
else if(strcmp(cmd, "prefix")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
show_prefix=value;
else
show_prefix=true;
}
else if(strcmp(cmd, "no-titles")==0)
titles=false;
else if(strcmp(cmd, "titles")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
titles=value;
else
titles=true;
}
else if(strcmp(cmd, "no-winch")==0)
winch=false;
else if(strcmp(cmd, "winch")==0)
{
unsigned int value;
if(rest&&sscanf(rest, "%u", &value))
winch=value;
else
winch=true;
}
Something went wrong with that request. Please try again.